oracle.dmt.odm.data
Class NonTransactionalDataSpecification
java.lang.Object
|
+--oracle.dmt.odm.MiningObject
|
+--oracle.dmt.odm.data.PhysicalDataSpecification
|
+--oracle.dmt.odm.data.NonTransactionalDataSpecification
- All Implemented Interfaces:
- java.io.Serializable
- public class NonTransactionalDataSpecification
- extends PhysicalDataSpecification
A NonTransactionalDataSpecification instance instructs the DMS to treat associated data as "non-transactional", that is, the data consists of one record (row) per case. To support text mining a new data-member called "Sequence Attribute" is added to this class. For datasets which has text attribute, must define a sequence attribute (a.k.a case id), to uniquely identify a record.
- Since:
- 9.0.1
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NonTransactionalDataSpecification
public NonTransactionalDataSpecification()
throws InvalidArgumentException,
ODMException
- Deprecated. As of 9.2.0, replaced by
NonTransactionalDataSpecification(LocationAccessData)
- Creates a
NonTransactionalDataSpecification instance.
- Throws:
InvalidArgumentException
- invalid transactional data format
InvalidArgumentException
ODMException
NonTransactionalDataSpecification
public NonTransactionalDataSpecification(LocationAccessData lad)
throws InvalidArgumentException,
ODMException
- Creates a
NonTransactionalDataSpecification instance with the specified location access data.
- Throws:
InvalidArgumentException
- invalid transactional data format
- invalid physical data access information
InvalidArgumentException
ODMException
setSequenceAttribute
public void setSequenceAttribute(Attribute sequenceAttr)
throws InvalidArgumentException,
ODMException
- Sets the sequence attribute for the non-transactional data with text attribute.
-
- Throws:
InvalidArgumentException
- - when sequenceAttr is null or > 30 characters length
InvalidArgumentException
ODMException
- Since:
- 10.1.0
getSequenceAttribute
public Attribute getSequenceAttribute()
- Returns sequence attribute, if there is no sequence attribute defined then it returns null.
-
- Since:
- 10.1.0
restore
public static NonTransactionalDataSpecification restore(Connection dmsConn,
java.lang.String pdsName)
throws InvalidArgumentException,
MiningObjectException,
ODMException,
java.sql.SQLException
- Restores the user-specified NonTransactionalDataSpecification object from the DMS.
-
- Parameters:
dmsConn - Data mining server connection
pdsName - Name of the NonTransactionalDataSpecification
- Returns:
NonTransactionalDataSpecification - restored NonTransactionalDataSpecification
- Throws:
InvalidArgumentException - is thrown
- when the dmsConn or pdsName is null
MiningObjectException - is thrown
- when the restore fails
ODMException - is thrown
- when there is an internal failure
SQLException - is thrown
- when there is a failure in JDBC calls
InvalidArgumentException
MiningObjectException
ODMException
java.sql.SQLException