public interface ETLRunContext
Modifier and Type | Interface and Description |
---|---|
static class |
ETLRunContext.RunMode |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Executed for destroying the context.
|
java.lang.String |
getClientReferenceId()
Client Reference ID of the logged-in user.
|
int |
getErrorThreshold()
The number of rows which may be rejected because of errors, before the process fails.
|
ETLThreadManager |
getETLThreadManager(int headCount)
Return a Thread Manager to which tasks may be submitted.
|
java.lang.Integer |
getIpOrg()
Org of the logged-in user.
|
java.lang.Integer |
getIpPerson()
ID of the logged-in user.
|
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.
|
long |
getMaxRowsPerStep()
This is the max number of rows a step can emit along an output flow.
|
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.
|
ETLRunContext.RunMode |
getRunMode()
Return the
ETLRunContext.RunMode |
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.
|
java.lang.String getRunTillStep()
java.lang.String getRunFromStep()
java.lang.String getRunStep()
ETLRunContext.RunMode getRunMode()
ETLRunContext.RunMode
ETLThreadManager getETLThreadManager(int headCount)
void destroy()
java.lang.Thread getMainThread()
void setMainThread(java.lang.Thread mainThread)
getMainThread()
long getMaxRowsPerStep()
int getErrorThreshold()
boolean hasExceededErrorThreshold()
void incrementErrorCount()
java.lang.Integer getIpOrg()
java.lang.Integer getIpPerson()
java.lang.String getClientReferenceId()
java.util.Map<java.lang.String,java.lang.String> getProcessConfig()
void setProcessConfig(java.util.Map<java.lang.String,java.lang.String> configMap)