|
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.MiningBuildResult
An instance of MiningBuildResult represents the result of the build mining operation. Note that the result name and the model name are same.
| Method Summary | |
java.lang.String |
getAlgorithmName()Returns name of the algorithm used to build this model. |
java.lang.String |
getFunctionName()Returns name of the function used to build this model. |
static java.lang.String[] |
listContents(Connection dmsConn)Returns names of all build results present in the data mining server. |
static java.lang.String[] |
listContents(Connection dmsConn, java.util.Date start, java.util.Date end)Returns names of build results created within the specified time interval in the data mining server. |
static MiningBuildResult |
restore(Connection dmsConn, java.lang.String modelName)Restores the specified object from the database. |
static MiningBuildResult |
restorePastVersion(java.sql.Connection dbConn, java.lang.String modelName)Restores the specified object in the ODM schema into the client space. |
| 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, toString, wait, wait, wait |
| Method Detail |
public static MiningBuildResult restorePastVersion(java.sql.Connection dbConn,
java.lang.String modelName)
throws InvalidArgumentException,
ODMException,
java.sql.SQLException
modelName - name of the model to restore associated build resultsInvalidArgumentException -
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.
public static java.lang.String[] listContents(Connection dmsConn)
throws java.sql.SQLException,
InvalidArgumentException
dmsConn - A connection to the data mining serverInvalidArgumentException - 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 data mining serverstart - 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 namespublic java.lang.String getFunctionName()
public java.lang.String getAlgorithmName()
public static MiningBuildResult restore(Connection dmsConn,
java.lang.String modelName)
throws java.sql.SQLException,
ODMException
dmsConn - connection to the data mining servermodelName - name of the model to restore associated build resultsInvalidArgumentException -
dmsConn or modelName is null.modelName is empty or length exceeds the limit.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 | |||||||||