Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.5.0)

E17060-02


oracle.odi.domain.runtime.lpi
Class OdiLoadPlanInstanceStepLog

java.lang.Object
  extended by oracle.odi.domain.support.BusinessObject
      extended by oracle.odi.domain.support.AbstractRepositoryEntity
          extended by oracle.odi.domain.runtime.lpi.OdiLoadPlanInstanceStepLog

All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, IRepositoryEntity, OdiLoadPlanInstanceBaseLog, OdiLoadPlanInstanceSessionLog

public class OdiLoadPlanInstanceStepLog
extends oracle.odi.domain.support.AbstractRepositoryEntity
implements OdiLoadPlanInstanceSessionLog
Since:
11.1.1.5.0
See Also:
Serialized Form

Constructor Summary
OdiLoadPlanInstanceStepLog()
           

 

Method Summary
 java.lang.Number getDeleteCount()
           
 java.lang.Number getDuration()
          Deprecated. as the duration is no more populated by runtime. Use getEndTime-getStartTime to get the duration
 java.util.Date getEndTime()
           
 java.lang.Number getErrorCount()
          Obtains the number of errors of this exception.
 java.lang.String getErrorMessage()
           
 OdiLoadPlanInstanceExceptionLog getExceptionLog()
          Returns the potential exception log related to this step log.
 java.lang.Number getInsertCount()
           
 java.io.Serializable getInternalId()
          Provides a common getter for the persistence layer to obtain an identity, irrespective of the actual type of identity used.
 OdiLoadPlanInstanceVariableLog getLastOverridenVariableLog(OdiLoadPlanInstanceVariable pVariable)
           
 OdiLoadPlanInstanceStep getLoadPlanInstanceStep()
           
 java.lang.Number getRecordCount()
           
 java.lang.String getReturnCode()
           
 IRepositoryEntity getSecurityContainer()
          Define a generic way to retrieve container for entities.
 java.lang.Number getSessionId()
           
 java.util.Date getStartTime()
           
 OdiLoadPlanInstanceRun.Status getStatus()
           
 java.lang.Number getUpdateCount()
           
 OdiLoadPlanInstanceVariableLog getVariableLog(OdiLoadPlanInstanceVariable pVariable)
           
 boolean isExceptionRaised()
           

 

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

 

Constructor Detail

OdiLoadPlanInstanceStepLog

public OdiLoadPlanInstanceStepLog()

Method Detail

getExceptionLog

public OdiLoadPlanInstanceExceptionLog getExceptionLog()
Returns the potential exception log related to this step log.
Returns:
the exception log : OdiLoadPlanInstanceExceptionLog

isExceptionRaised

public boolean isExceptionRaised()

getVariableLog

public OdiLoadPlanInstanceVariableLog getVariableLog(OdiLoadPlanInstanceVariable pVariable)
Parameters:
pVariable - must be a variable refreshed on the step executed
Returns:
the logs for the given variable on this step, null if no override occurred for this step

getLastOverridenVariableLog

public OdiLoadPlanInstanceVariableLog getLastOverridenVariableLog(OdiLoadPlanInstanceVariable pVariable)
Parameters:
pVariable -
Returns:
the latest log of variable override occured in the load plan path till this step null if no override occured for this variable on the whole load plan branch.

getInternalId

public java.io.Serializable getInternalId()
Description copied from interface: IRepositoryEntity
Provides a common getter for the persistence layer to obtain an identity, irrespective of the actual type of identity used.

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.

Specified by:
getInternalId in interface IRepositoryEntity
Returns:
the persistence identity of this instance

getSessionId

public java.lang.Number getSessionId()
Specified by:
getSessionId in interface OdiLoadPlanInstanceSessionLog
Returns:
the Id of the session for this execution or null if not defined yet

getStartTime

public java.util.Date getStartTime()
Specified by:
getStartTime in interface OdiLoadPlanInstanceBaseLog
Returns:
the start time for this exception, or null if not yet started.

getEndTime

public java.util.Date getEndTime()
Specified by:
getEndTime in interface OdiLoadPlanInstanceBaseLog
Returns:
the end time for this exception, or null if not yet finished.

getDuration

public java.lang.Number getDuration()
Deprecated. as the duration is no more populated by runtime. Use getEndTime-getStartTime to get the duration
Specified by:
getDuration in interface OdiLoadPlanInstanceBaseLog
Returns:
the duration of execution in seconds, or null if not yet defined

getStatus

public OdiLoadPlanInstanceRun.Status getStatus()
Specified by:
getStatus in interface OdiLoadPlanInstanceBaseLog
Returns:
the Execution status

getErrorMessage

public java.lang.String getErrorMessage()
Specified by:
getErrorMessage in interface OdiLoadPlanInstanceBaseLog
Returns:
Return the error message for this exception if any. Will always return null if not failed.

getReturnCode

public java.lang.String getReturnCode()
Specified by:
getReturnCode in interface OdiLoadPlanInstanceBaseLog
Returns:
Return code associated to this execution or null if not defined yet

getRecordCount

public java.lang.Number getRecordCount()
Specified by:
getRecordCount in interface OdiLoadPlanInstanceSessionLog
Returns:
overall number of records processed by this exception, or null if not applicable

getInsertCount

public java.lang.Number getInsertCount()
Specified by:
getInsertCount in interface OdiLoadPlanInstanceSessionLog
Returns:
the number of processed inserts, or null if not applicable

getUpdateCount

public java.lang.Number getUpdateCount()
Specified by:
getUpdateCount in interface OdiLoadPlanInstanceSessionLog
Returns:
the number of updates processed by this exception, or null if not applicable

getDeleteCount

public java.lang.Number getDeleteCount()
Specified by:
getDeleteCount in interface OdiLoadPlanInstanceSessionLog
Returns:
the number of deletes processed by this exception, or null if not applicable

getErrorCount

public java.lang.Number getErrorCount()
Obtains the number of errors of this exception.
Specified by:
getErrorCount in interface OdiLoadPlanInstanceSessionLog
Returns:
the number of errors, or null if not applicable

getLoadPlanInstanceStep

public OdiLoadPlanInstanceStep getLoadPlanInstanceStep()
Returns:
the load plan instance step executed

getSecurityContainer

public IRepositoryEntity getSecurityContainer()
Description copied from interface: IRepositoryEntity
Define a generic way to retrieve container for entities.
Specified by:
getSecurityContainer in interface IRepositoryEntity
Returns:
container entity

Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.5.0)

E17060-02


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.