InputProcessor
is a helper class to manage the state store of FlatMapGroupsWithStateExec physical operator.
InputProcessor
is created exclusively when FlatMapGroupsWithStateExec
physical operator is executed (and uses InputProcessor
for the storeUpdateFunction while mapping over partitions with a state store).
InputProcessor
takes a single StateStore when created.
processNewData(dataIter: Iterator[InternalRow]): Iterator[InternalRow]
processNewData
…FIXME
Note
|
processNewData is used exclusively when FlatMapGroupsWithStateExec physical operator is executed.
|
processTimedOutState(): Iterator[InternalRow]
processTimedOutState
…FIXME
Note
|
processTimedOutState is used exclusively when FlatMapGroupsWithStateExec physical operator is executed.
|
callFunctionAndUpdateState(
stateData: StateData,
valueRowIter: Iterator[InternalRow],
hasTimedOut: Boolean): Iterator[InternalRow]
callFunctionAndUpdateState
…FIXME
Note
|
callFunctionAndUpdateState is used exclusively when InputProcessor is requested to processNewData and processTimedOutState.
|