Interface TableFunctionSplitProcessor
Processes table functions splits, as returned from
ConnectorSplitManager
for a ConnectorTableFunctionHandle.
Thread-safety: implementations do not have to be thread-safe. The process() method may be called from
multiple threads, but will never be called from two threads at the same time.
-
Method Summary
-
Method Details
-
process
TableFunctionProcessorState process()This method processes a split. It is called multiple times until the whole output for the split is produced.- Returns:
TableFunctionProcessorStateincluding the processor's state and optionally a portion of result. After the returned state isFINISHED, the method will not be called again.
-