|
Oracle Data Mining Java API Reference 11g Release 1 (11.1) B28132-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.dmt.jdm.OraDMObject
oracle.dmt.jdm.OraMiningObject
oracle.dmt.jdm.base.OraTask
The class OraTask
add new extension methods in 11.1 to javax.datamining.base.Task
. These methods allows to specify task dependencies and thus enable execution of tasks as a sequence of tasks that allows to specify processes, such as model build --> test --> apply. Without this feature, client applications have to wait for the completion of the dependent tasks using either ExecutionHandle.waitForCompletion
method or periodic polling the server by using ExecutionHandle.getLatestStatus
method.
Method Summary | |
void |
addDependency(java.lang.String parentTaskName) Adds the parent task that this task depends on. |
void |
dropDependency(java.lang.String parentTaskName) Removes the parent task dependency for this task. |
java.util.List |
getChildTaskNames() Returns list of child tasks, i.e., the tasks that have this task as the parent. |
java.util.List |
getParentTaskNames() Returns list of parent tasks that this task depends on. |
boolean |
overwriteOutput() Returns the overwrite flag set for this task. |
void |
overwriteOutput(boolean overwrite) Set the flag to indicate the task that it can overwrite if there are any of the previous outputs with the same name exist in the server. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.datamining.MiningObject |
getCreationDate, getCreatorInfo, getName, getObjectIdentifier, setDescription |
Method Detail |
public void addDependency(java.lang.String parentTaskName) throws javax.datamining.JDMException
javax.datamining.JDMException
public void dropDependency(java.lang.String parentTaskName) throws javax.datamining.JDMException
javax.datamining.JDMException
public java.util.List getParentTaskNames()
public java.util.List getChildTaskNames()
public void overwriteOutput(boolean overwrite)
public boolean overwriteOutput()
|
Oracle Data Mining Java API Reference 11g Release 1 (11.1) B28132-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |