|
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.task.MiningTask | +--oracle.dmt.odm.task.ModelExportTask
An instance of ModelExportTask
is used to export ODM mining models to standard format mining model representations. ODM supports exporting model built in the DMS, to the industry standard PMML2.0 standard.
ODM supports exporting the following models:
This class supports the exporting of a mining model to an XMLType table cell. Oracle database supports an SYS.XMLType datatype to store XML documents inside the database. LocationCellAccessData
provides the location of the XMLType table cell to which model(s) needs to be exported.
Export fails if the specified model is not present in the DMS or table cell location is not valid or model is not supported for export.
Constructor Summary | |
ModelExportTask(java.lang.String inputModelName, LocationCellAccessData exportModelLocation, MiningStandardType miningStandardType) Creates a ModelExportTask object given the MiningStandardType and the location of the cell (that is, row-column intersection) identified by the column name and rowid for a given schema and table name. |
Method Summary | |
LocationCellAccessData |
getExportModelLocation() Returns the export location cell of the mining model. |
java.lang.String |
getInputModelName() Returns the input model name of the export mining task. |
MiningStandardType |
getMiningStandardType() Returns the export model mining standard type. |
static ModelExportTask |
restore(Connection dmsConn, java.lang.String taskName) Restores the user-specified mining export task object from the database. |
Methods inherited from class oracle.dmt.odm.task.MiningTask |
execute, getActiveExecutionHandle, getCurrentStatus, getExecutionDuration, getExecutionHandle, getLatestExecutionHandle, getName, getStatusHistory, getTaskType, getType, listTasks, remove, rename, store, terminate, waitForCompletion, waitForCompletion |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ModelExportTask(java.lang.String inputModelName, LocationCellAccessData exportModelLocation, MiningStandardType miningStandardType) throws InvalidArgumentException, ODMException
ModelExportTask
object given the MiningStandardType
and the location of the cell (that is, row-column intersection) identified by the column name and rowid for a given schema and table name.inputModelName
- Name of the input mining model in the DMS, which must be exported to the specified locationexportModelLocation
- Location of the exported models table cellInvalidArgumentException
- is throwninputModelName/exportModelLocation/miningStandardType
are nullinputModelName
length >25 bytesInvalidArgumentException
ODMException
Method Detail |
public LocationCellAccessData getExportModelLocation()
public MiningStandardType getMiningStandardType()
public java.lang.String getInputModelName()
public static ModelExportTask restore(Connection dmsConn, java.lang.String taskName) throws InvalidArgumentException, MiningTaskException, java.sql.SQLException, ODMException
dmsConn
- Data mining server connection.taskName
- Name of the export task.ModelExportTask
.InvalidArgumentException
- is throwndmsConn/taskName
are nulltaskName
length >64 charactersMiningTaskException
- is thrownSQLException
- is thrownInvalidArgumentException
MiningTaskException
java.sql.SQLException
ODMException
|
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |