public abstract class IterativeColumnOperator<INPUT_TYPE,OUTPUT_TYPE,STATE> extends Object
Constructor and Description |
---|
IterativeColumnOperator() |
Modifier and Type | Method and Description |
---|---|
abstract STATE |
add(WritableSource<OUTPUT_TYPE> destColumn,
ColumnSource<INPUT_TYPE> columnSource,
long destPos,
long sourcePos,
STATE state)
Adds items to the group.
|
abstract void |
modify(WritableSource<OUTPUT_TYPE> destColumn,
ColumnSource<INPUT_TYPE> columnSource,
long destPos,
long sourcePos,
STATE state)
Modifies an existing row within the state.
|
abstract void |
remove(WritableSource<OUTPUT_TYPE> destColumn,
ColumnSource<INPUT_TYPE> columnSource,
long destPos,
long sourcePos,
STATE state)
Removes an existing row from the state state.
|
abstract void |
validate(Index index,
ColumnSource<INPUT_TYPE> source,
WritableSource<OUTPUT_TYPE> destColumn,
long rowNumber) |
public abstract STATE add(WritableSource<OUTPUT_TYPE> destColumn, ColumnSource<INPUT_TYPE> columnSource, long destPos, long sourcePos, STATE state)
destColumn
- the destination (output) columncolumnSource
- the source (input) columndestPos
- the key within the destColumn to updatesourcePos
- the key within the columnSource to readstate
- the state for this grouppublic abstract void modify(WritableSource<OUTPUT_TYPE> destColumn, ColumnSource<INPUT_TYPE> columnSource, long destPos, long sourcePos, STATE state)
destColumn
- the destination (output) columncolumnSource
- the source (input) columndestPos
- the key within the destColumn to updatesourcePos
- the key within the columnSource to readstate
- the state for this grouppublic abstract void remove(WritableSource<OUTPUT_TYPE> destColumn, ColumnSource<INPUT_TYPE> columnSource, long destPos, long sourcePos, STATE state)
destColumn
- the destination (output) columncolumnSource
- the source (input) columndestPos
- the key within the destColumn to updatesourcePos
- the key within the columnSource to readstate
- the state for this grouppublic abstract void validate(Index index, ColumnSource<INPUT_TYPE> source, WritableSource<OUTPUT_TYPE> destColumn, long rowNumber)