InputProcessor Helper Class of FlatMapGroupsWithStateExec Physical Operator

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 Method

processNewData(dataIter: Iterator[InternalRow]): Iterator[InternalRow]

processNewData…​FIXME

Note
processNewData is used exclusively when FlatMapGroupsWithStateExec physical operator is executed.

processTimedOutState Method

processTimedOutState(): Iterator[InternalRow]

processTimedOutState…​FIXME

Note
processTimedOutState is used exclusively when FlatMapGroupsWithStateExec physical operator is executed.

callFunctionAndUpdateState Internal Method

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.

results matching ""

    No results matching ""