|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.3.0) E17060-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.odi.domain.support.BusinessObject oracle.odi.domain.support.AbstractRepositoryEntity oracle.odi.domain.runtime.session.OdiSessionTaskLog
public final class OdiSessionTaskLog
Execution log of an OdiSession
's task. The task is the smallest execution unit. It corresponds
to a procedure command, assignment of a variable, etc. It is part of the OdiSessionStepLog
-
OdiSessionTaskLog
aggregate.
An OdiSessionTaskLog
life cycle begins when an ODI session's step is runned by ODI
Execution Engine. Its life cycle ends when enclosing OdiSessionStepLog
(or OdiSession
) is
removed from runtime repository.
Nested Class Summary | |
---|---|
static class |
OdiSessionTaskLog.CommitMode
Type safe enum that represents commit mode applied to a task when executed. |
static class |
OdiSessionTaskLog.IsolationLevel
Type safe enum that represents DB isolation level applied to a task when executed. |
static class |
OdiSessionTaskLog.LogCounter
Type safe enum that represents different log counter types defined for a task. |
Method Summary | |
---|---|
java.lang.Integer |
getDeleteCount()
Relevant for Interfaces and Procedures and any execution that manipulates data. |
java.lang.Integer |
getDuration()
Returns duration of this OdiSessionTaskLog , or null if undefined. |
java.util.Date |
getEndTime()
Returns end time of this OdiSessionTaskLog , or null if not yet finished. |
java.lang.Integer |
getErrorCount()
Returns the error count. |
java.lang.String |
getErrorMessage()
Returns error message of this OdiSessionTaskLog . |
int |
getExecutionCount()
Returns the count of executions for this OdiSessionTaskLog . |
java.lang.Integer |
getInsertCount()
Relevant for Interfaces and Procedures and any execution that manipulates data. |
java.io.Serializable |
getInternalId()
Provides a common getter for the persistence layer to obtain an identity, irrespective of the actual type of identity used. |
int |
getInternalOrder()
Returns the internal order value. |
OdiSessionTaskLog.LogCounter |
getLogCounter()
Returns LogCounter used by this OdiSessionTaskLog . |
LogLevel |
getLogLevel()
Returns level of log details for this OdiSessionTaskLog . |
java.lang.String |
getReturnCode()
Returns return code of this OdiSessionTaskLog . |
int |
getScenarioTaskNumber()
Returns the scenario task number. |
IRepositoryEntity |
getSecurityContainer()
Define a generic way to retrieve container for entities. |
java.lang.String |
getSourceCommand()
Returns the actual command executed on source, or null if undefined. |
OdiSessionTaskLog.CommitMode |
getSourceCommitMode()
Returns transaction commit mode applied for source command, or null if undefined. |
java.lang.String |
getSourceContextCode()
Returns forced context code for execution on source. |
java.lang.String |
getSourceDataServerName()
Returns computed source data server name, or null if undefined. |
OdiSessionTaskLog.IsolationLevel |
getSourceIsolationLevel()
Returns source isolation level, or null if undefined. |
java.lang.String |
getSourceLogicalSchemaName()
Returns logical schema name on the source technology for the task. |
java.lang.String |
getSourceTransactionId()
Returns source transaction ID, or null if undefined. |
java.util.Date |
getStartTime()
Returns start time of this OdiSessionTaskLog , or null if not yet started. |
Status |
getStatus()
Returns status of this OdiSessionTaskLog . |
java.lang.String |
getTargetCommand()
Returns the actual command executed on target, or null if undefined. |
OdiSessionTaskLog.CommitMode |
getTargetCommitMode()
Returns transaction commit mode applied for target command, or null if undefined. |
java.lang.String |
getTargetContextCode()
Returns forced context code for execution on target. |
java.lang.String |
getTargetDataServerName()
Returns computed target data server name, or null if undefined. |
OdiSessionTaskLog.IsolationLevel |
getTargetIsolationLevel()
Returns target isolation level, or null if undefined. |
java.lang.String |
getTargetLogicalSchemaName()
Returns logical schema name on the target technology for the task. |
java.lang.String |
getTargetTransactionId()
Returns target transaction ID, or null if undefined. |
int |
getTaskLogNumber()
Returns the OdiSessionTaskLog 's number. |
java.lang.String |
getTaskName1()
Gets task name 1 of this OdiSessionTaskLog , or null if undefined. |
java.lang.String |
getTaskName2()
Gets task name 2 of this OdiSessionTaskLog , or null if undefined. |
java.lang.String |
getTaskName3()
Gets task name 3 of this OdiSessionTaskLog , or null if undefined. |
java.lang.Integer |
getUpdateCount()
Relevant for Interfaces and Procedures and any execution that manipulates data. |
boolean |
isIgnoreError()
Returns whether errors are ignored for this OdiSessionTaskLog . |
Methods inherited from class oracle.odi.domain.support.BusinessObject |
---|
clone |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.Integer getDeleteCount()
public java.lang.Integer getDuration()
OdiSessionTaskLog
, or null if undefined.
OdiSessionTaskLog
, or null if undefinedpublic java.util.Date getEndTime()
OdiSessionTaskLog
, or null if not yet finished.
OdiSessionTaskLog
, or null if not yet finishedpublic java.lang.Integer getErrorCount()
public java.lang.String getErrorMessage()
OdiSessionTaskLog
. Will always be null if not failed.
OdiSessionTaskLog
. Will always be null if not failedpublic int getExecutionCount()
OdiSessionTaskLog
.
OdiSessionTaskLog
public java.lang.Integer getInsertCount()
public java.io.Serializable getInternalId()
IRepositoryEntity
Typically a subclass will delegate to a public
SomePrimitiveWrapper getId()
method. The necessity for the
getInternalId()
abstract method is solely because the
persistence layer needs a way of obtaining the identity irrespective of
the actual identity implementation choice.
Returning null
from this method will indicate the object has
never been saved. This will likely be relied on by some DAO
implementations.
public int getInternalOrder()
public OdiSessionTaskLog.LogCounter getLogCounter()
OdiSessionTaskLog
.
OdiSessionTaskLog
public LogLevel getLogLevel()
OdiSessionTaskLog
.
OdiSessionTaskLog
public java.lang.String getReturnCode()
OdiSessionTaskLog
.
The return code is obtained from the execution channel of the task, e.g. operating system code,
database error code, etc. It will be "0" (zero) in case of success.
OdiSessionTaskLog
public int getScenarioTaskNumber()
public IRepositoryEntity getSecurityContainer()
IRepositoryEntity
public java.lang.String getSourceCommand()
public OdiSessionTaskLog.CommitMode getSourceCommitMode()
public java.lang.String getSourceContextCode()
public java.lang.String getSourceDataServerName()
public OdiSessionTaskLog.IsolationLevel getSourceIsolationLevel()
public java.lang.String getSourceLogicalSchemaName()
public java.lang.String getSourceTransactionId()
public java.util.Date getStartTime()
OdiSessionTaskLog
, or null if not yet started.
OdiSessionTaskLog
, or null if not yet startedpublic Status getStatus()
OdiSessionTaskLog
.
OdiSessionTaskLog
public java.lang.String getTargetCommand()
public OdiSessionTaskLog.CommitMode getTargetCommitMode()
public java.lang.String getTargetContextCode()
public java.lang.String getTargetDataServerName()
public OdiSessionTaskLog.IsolationLevel getTargetIsolationLevel()
public java.lang.String getTargetLogicalSchemaName()
public java.lang.String getTargetTransactionId()
public int getTaskLogNumber()
OdiSessionTaskLog
's number.
OdiSessionTaskLog
's numberpublic java.lang.String getTaskName1()
OdiSessionTaskLog
, or null if undefined.
OdiSessionTaskLog
, or null if undefinedpublic java.lang.String getTaskName2()
OdiSessionTaskLog
, or null if undefined.
OdiSessionTaskLog
, or null if undefinedpublic java.lang.String getTaskName3()
OdiSessionTaskLog
, or null if undefined.
OdiSessionTaskLog
, or null if undefinedpublic java.lang.Integer getUpdateCount()
public boolean isIgnoreError()
OdiSessionTaskLog
.
OdiSessionTaskLog
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.3.0) E17060-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |