Interface TableFunctionDataProcessor


public interface TableFunctionDataProcessor
  • Method Details

    • process

      This method processes a portion of data. It is called multiple times until the partition is fully processed.
      Parameters:
      input - a tuple of Page including one page for each table function's input table. Pages list is ordered according to the corresponding argument specifications in ConnectorTableFunction. A page for an argument consists of columns requested during analysis (see TableFunctionAnalysis.getRequiredColumns()}. If any of the sources is fully processed, Optional.empty)() is returned for that source. If all sources are fully processed, the argument is null.
      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.