|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | 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 DMS 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 |
Type | Method |
---|---|
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 DMS 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 void |
remove(Connection dmsConn,
java.lang.String resultName)
Removes the named apply result from the DMS. |
static void |
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)
Retrieves the named apply result from the DMS. |
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, getName, getStartingTimestamp |
Methods inherited from class oracle.dmt.odm.LocatableObject |
deserialize, serialize |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public static MiningApplyResult restore(Connection dmsConn, java.lang.String resultName) throws java.sql.SQLException, InvalidArgumentException, ODMException
dmsConn
- A connection to the DMSresultName
- The name of the apply result to be retrievedMiningApplyResult
- The retrieved apply output objectInvalidArgumentException
- when either dmsConn
or
resultName
is null.ODMException
- when resultName
is empty or exceeds 64 characters
in length.java.sql.SQLException
- An error occurs during retrieval of the apply result.public static void remove(Connection dmsConn, java.lang.String resultName) throws java.sql.SQLException, InvalidArgumentException, MiningObjectException, ODMException
dmsConn
- A connection to the DMSresultName
- The name of the apply result to be removedInvalidArgumentException
- when either dmsConn
or
resultName
is null.ODMException
- when resultName
is empty or exceeds 64 characters
in length.MiningObjectException
- The named apply result does not exist
in the DMS.public static void 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.InvalidArgumentException
- when either dmsConn
or
resultName
is null.ODMException
- when resultName
is empty or exceeds 64
characters in length.MiningObjectException
- The named apply result does not exist
in the DMS.public static java.lang.String[] listContents(Connection dmsConn) throws java.sql.SQLException, InvalidArgumentException
dmsConn
- A connection to the DMSString[]
- An array of apply result namesInvalidArgumentException
- when dmsConn
is null.java.sql.SQLException
- An error occurs during retrieval of the namespublic 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 intervalString[]
- An array of apply result namesInvalidArgumentException
- dmsConn
, start
, or end
is null, or
end
precedes start
.
java.sql.SQLException
- An error occurs during retrieval of the namespublic 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 generatedString[]
- An array of apply result namesInvalidArgumentException
- dmsConn
, start
, end
,
or modelName
is null, or
end
precedes start
.
ODMException
- when modelName
is empty or exceeds 64
characters in length.java.sql.SQLException
- An error occurs during retrieval of the namespublic java.lang.String getSchemaName()
String
- The schema name of the DMSpublic java.lang.String getApplyOutputTableName()
String
- The name of the apply output tablepublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |