|
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.ModelImportTask
An instance of ModelImportTask
is used to import standard format mining models to the database. ODM supports importing models in the PMML2.0 standard format.
ODM supports importing the following models:
This class supports importing a mining model from 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 from which the model needs to be imported.
Import fails if the table cell location is not valid or model is not supported for import.
Constructor Summary | |
ModelImportTask(java.lang.String outputModelName, LocationCellAccessData importModelLocation, MiningStandardType miningStandardType) Creates a ModelImportTask object given the MiningStandard 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 |
getImportModelLocation() Returns the import location cell of the mining model. |
MiningStandardType |
getMiningStandardType() Returns the import model mining standard type. |
java.lang.String |
getOutputModelName() Returns the output model name of the import mining task. |
static ModelImportTask |
restore(Connection dmsConn, java.lang.String taskName) Restores the user-specified mining import task object from the DMS. |
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 ModelImportTask(java.lang.String outputModelName, LocationCellAccessData importModelLocation, MiningStandardType miningStandardType) throws InvalidArgumentException, ODMException
ModelImportTask
object given the MiningStandard
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.importModelLocation
- Location of the import model table celloutputModelName
- Name of the output mining modelminingStandardType
- Import model's mining standard type. ODM supports PMML2.0 standardInvalidArgumentException
- is thrownoutputModelName/importModelLocation/miningStandardType
are nulloutputModelName
length >25 bytesInvalidArgumentException
ODMException
Method Detail |
public LocationCellAccessData getImportModelLocation()
public MiningStandardType getMiningStandardType()
public java.lang.String getOutputModelName()
public static ModelImportTask restore(Connection dmsConn, java.lang.String taskName) throws InvalidArgumentException, MiningTaskException, java.sql.SQLException, ODMException
dmsConn
- Data mining server connection>taskName
- Name of the model import task.ModelImportTask
.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 |