|
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.LocatableObject
|
+--oracle.dmt.odm.result.MiningResult
|
+--oracle.dmt.odm.result.MiningApplyResult
An instance of MiningApplyResult represents the result of the apply mining operation.
Note that apply result is a named metadata object stored in the database and represents the result of the apply mining operation including the apply output table, while apply output is a database table that contains the predictions and associated results of the apply operation.
| Method Summary | |
java.lang.String |
getApplyOutputTableName()Returns the apply output table name represented by this apply result. |
java.lang.String |
getSchemaName()Returns the schema name of the database where this apply result is persisted. |
static java.lang.String[] |
listContents(Connection dmsConn)Returns names of all apply results present in the DMS. |
static java.lang.String[] |
listContents(Connection dmsConn, java.util.Date start, java.util.Date end)Returns names of apply results created within the specified time interval in the DMS. |
static java.lang.String[] |
listContents(Connection dmsConn, java.util.Date start, java.util.Date end, java.lang.String modelName)Returns names of apply results created by the specified model within the specified time interval in the DMS. |
static boolean |
remove(Connection dmsConn, java.lang.String resultName, boolean dropApplyResultTable)Removes the named apply result from the DMS. |
static MiningApplyResult |
restore(Connection dmsConn, java.lang.String resultName)Restores the specified object from the database. |
java.lang.String |
toString()Returns a formatted string representation of apply result. |
| Methods inherited from class oracle.dmt.odm.result.MiningResult |
getCompletionTimestamp, getDurationTime, getExecutionDuration, getInputMiningData, getMiningModel, getMiningModelID, getName, getStartingTimestamp, remove, rename |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public static boolean remove(Connection dmsConn,
java.lang.String resultName,
boolean dropApplyResultTable)
throws java.sql.SQLException,
InvalidArgumentException,
MiningObjectException,
ODMException
dropApplyResultTable is true.dmsConn - A connection to the DMSresultName - The name of the apply result to be removeddropApplyResultTable - Indicates to remove the apply result table associated with resultName if true.boolean - A flag indicating whether the specified object has been removed successfully.InvalidArgumentException - when either dmsConn or resultName is null.ODMException - when resultName is empty or exceeds 30 bytes in length.MiningObjectException - The named apply result does not exist in the DMS.java.sql.SQLException
public static java.lang.String[] listContents(Connection dmsConn)
throws java.sql.SQLException,
InvalidArgumentException
dmsConn - A connection to the DMSInvalidArgumentException - when dmsConn is null.java.sql.SQLException - An error occurs during retrieval of the names
public static java.lang.String[] listContents(Connection dmsConn,
java.util.Date start,
java.util.Date end)
throws java.sql.SQLException,
InvalidArgumentException
dmsConn - A connection to the DMSstart - The starting time of the intervalend - The ending time of the intervalInvalidArgumentException -
dmsConn, start, or end is null, orend precedes start.java.sql.SQLException - An error occurs during retrieval of the names
public static java.lang.String[] listContents(Connection dmsConn,
java.util.Date start,
java.util.Date end,
java.lang.String modelName)
throws java.sql.SQLException,
InvalidArgumentException,
ODMException
dmsConn - A connection to the DMSstart - The starting time of the intervalend - The ending time of the intervalmodelName - The name of the model by which the apply results were generatedInvalidArgumentException -
dmsConn, start, end, or modelName is null, orend precedes start.ODMException - when modelName is empty or length exceeds the limit.java.sql.SQLException - An error occurs during retrieval of the namespublic java.lang.String getSchemaName()
public java.lang.String getApplyOutputTableName()
public java.lang.String toString()
toString in class java.lang.Object
public static MiningApplyResult restore(Connection dmsConn,
java.lang.String resultName)
throws java.sql.SQLException,
ODMException
dmsConn - connection to the data mining serverInvalidArgumentException -
dmsConn or modelName is null.modelName is empty or exceeds 64 characters in length.ODMException - when there is a failure in the internal ODM operationsjava.sql.SQLException - when there is a failure in JDBC operations to restore the object.
|
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||