public abstract class AbstractETLRunContext extends java.lang.Object implements ETLRunContext, java.io.Serializable
ETLRunContext
interface.ETLRunContext.RunMode
Modifier and Type | Field and Description |
---|---|
protected ETLThreadManager |
threadManager |
Constructor and Description |
---|
AbstractETLRunContext() |
Modifier and Type | Method and Description |
---|---|
int |
getErrorThreshold()
The number of rows which may be rejected because of errors, before the process fails.
|
java.lang.Thread |
getMainThread()
If the context has designated a Thread which will run the job from end to end, use this method to access it.
|
java.util.Map<java.lang.String,java.lang.String> |
getProcessConfig()
Get all configuration for an ETL Process as a map keyed by configKey and configValue.
|
java.lang.String |
getRunFromStep()
Get the UUID of the step from which the job should be run.
|
java.lang.String |
getRunStep()
Get the UUID of the step which should be run.
|
java.lang.String |
getRunTillStep()
Get the UUID of the step till which the job should be run.
|
boolean |
hasExceededErrorThreshold()
True if the number of errors in this execution has exceeded the error threshold
|
void |
incrementErrorCount()
Increment by 1, the number of errors in the current execution.
|
void |
setMainThread(java.lang.Thread mainThread)
Designate a "main" thread.
|
void |
setProcessConfig(java.util.Map<java.lang.String,java.lang.String> configMap)
Set a map containing configuration for an ETL Process.
|
void |
setRunFromStep(java.lang.String runFromStepUuid) |
void |
setRunStep(java.lang.String runStepUuid) |
void |
setRunTillStep(java.lang.String runTillStepUuid) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
destroy, getClientReferenceId, getETLThreadManager, getIpOrg, getIpPerson, getMaxRowsPerStep, getRunMode
protected ETLThreadManager threadManager
public java.lang.String getRunTillStep()
ETLRunContext
getRunTillStep
in interface ETLRunContext
public void setRunTillStep(java.lang.String runTillStepUuid)
public java.lang.String getRunFromStep()
ETLRunContext
getRunFromStep
in interface ETLRunContext
public void setRunFromStep(java.lang.String runFromStepUuid)
public java.lang.String getRunStep()
ETLRunContext
getRunStep
in interface ETLRunContext
public void setRunStep(java.lang.String runStepUuid)
public java.lang.Thread getMainThread()
ETLRunContext
getMainThread
in interface ETLRunContext
public void setMainThread(java.lang.Thread mainThread)
ETLRunContext
setMainThread
in interface ETLRunContext
ETLRunContext.getMainThread()
public int getErrorThreshold()
ETLRunContext
getErrorThreshold
in interface ETLRunContext
public boolean hasExceededErrorThreshold()
ETLRunContext
hasExceededErrorThreshold
in interface ETLRunContext
public void incrementErrorCount()
ETLRunContext
incrementErrorCount
in interface ETLRunContext
public java.util.Map<java.lang.String,java.lang.String> getProcessConfig()
ETLRunContext
getProcessConfig
in interface ETLRunContext
public void setProcessConfig(java.util.Map<java.lang.String,java.lang.String> configMap)
ETLRunContext
setProcessConfig
in interface ETLRunContext