Interface TableFunctionSplitProcessor


@Experimental(eta="2023-07-31") public 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 Details

    • process

      This method processes a split. It is called multiple times until the whole output for the split is produced.
      Returns:
      TableFunctionProcessorState including the processor's state and optionally a portion of result. After the returned state is FINISHED, the method will not be called again.