public abstract class RowLevelPolicy extends Object implements Closeable, FinalState
| Modifier and Type | Class and Description |
|---|---|
static class |
RowLevelPolicy.Result |
static class |
RowLevelPolicy.Type |
| Constructor and Description |
|---|
RowLevelPolicy(State state,
RowLevelPolicy.Type type) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
abstract RowLevelPolicy.Result |
executePolicy(Object record) |
String |
getErrFileLocation() |
State |
getFinalState()
Get final state for this object.
|
State |
getTaskState() |
RowLevelPolicy.Type |
getType() |
String |
toString() |
protected final State state
public RowLevelPolicy(State state, RowLevelPolicy.Type type)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic State getTaskState()
public RowLevelPolicy.Type getType()
public String getErrFileLocation()
public abstract RowLevelPolicy.Result executePolicy(Object record)
public State getFinalState()
State, but
concrete subclasses can add information that will be added to the task state.getFinalState in interface FinalStateState.