| 
Oracle Data Mining Java API Reference 10g Release 1 (10.1) B12276-01  | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
  |
  +--oracle.dmt.odm.MiningObject
        |
        +--oracle.dmt.odm.data.PhysicalDataSpecification
The abstract class PhysicalDataSpecification is the common superclass for all data format classes. A PhysicalDataSpecification instance characterizes the layout of the physical data to be used for mining. For example, data can be in transactional or non-transactional form. In transactional format, the roles of various columns are identified. The data referenced by a PhysicalDataSpecification instance is used in several capacities: model building, scoring, lift computation, etc.
| Method Summary | |
 DataFormatType | 
getFormat()Returns the data format type: transactional or non-transactional.  | 
 LocationAccessData | 
getLocationAccessData()Returns the LocationAccessData instance identifying where the source data resides. | 
 java.lang.String | 
getName() | 
static boolean | 
remove(Connection dmsConn, java.lang.String pdsName)Removes the specified physical data specification from the data mining server.  | 
static boolean | 
rename(Connection dmsConn, java.lang.String oldObjectName, java.lang.String newObjectName)Renames the specified physical data specification .  | 
 void | 
store(Connection dmsConn, java.lang.String pdsName)Persists this instance of physical data specification with the given name in the specified ODM schema.  | 
| Methods inherited from class java.lang.Object | 
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
public DataFormatType getFormat()
public LocationAccessData getLocationAccessData()
LocationAccessData instance identifying where the source data resides.public java.lang.String getName()
public void store(Connection dmsConn,
                  java.lang.String pdsName)
           throws InvalidArgumentException,
MiningObjectException,
                  java.sql.SQLException,
ODMException
An instance of physical data specification may be modified until store method is executed on it. When a physical data specification object is restored, its initial status is mutable. However, if a user wants to store this instance in the data mining server, a different name must be assigned to this instance. This means that once a physical data specification object is persisted with a name in the data mining server, it is immutable.
dmsConn - A connection to the data mining serverpdsName - The name of the mining function settings to be storedInvalidArgumentException -dmsConn is null, orpdsName is null.pdsName is empty or exceeds 30 characters in length.java.sql.SQLException - when an error occurs during the execution of store.MiningObjectExceptionODMException
public static boolean remove(Connection dmsConn,
                             java.lang.String pdsName)
                      throws java.sql.SQLException,
MiningObjectException,
InvalidArgumentException,
ODMException
dmsConn - A connection to the data mining serverpdsName - The name of the physical data specification to be removedboolean - A flag indicating whether the specified object has been removed successfully.InvalidArgumentException -dmsConn is null, orpdsName is null.ODMException - when pdsName is empty or exceeds 30 bytes in length.java.sql.SQLException - when an error occurs during the removalMiningObjectException - when the mining function settings does not exist in the data mining server.
public static boolean rename(Connection dmsConn,
                             java.lang.String oldObjectName,
                             java.lang.String newObjectName)
                      throws java.sql.SQLException,
InvalidArgumentException,
ODMException
dmsConn - A connection to the data mining serveroldObjectName - The name of the physical data specification to be renamednewObjectName - The new name of the physical data specification to be assignedboolean - A flag indicating whether the specified object has been renamed successfully.InvalidArgumentException -dmsConn is null, oroldObjectName is null,newObjectName is null.ODMException - when oldObjectName or newObjectName is empty or exceeds 30 bytes in length.java.sql.SQLException - when an error occurs during the rename operation 
  | 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||