Interface ChunkFunction

All Known Implementing Classes:
CompositeFunction, ExpressionFunction

public interface ChunkFunction
The ChunkFunction interface is to be implemented by any class that performs some type of processing on a set of input data chunks to produce an output chunk. The function is many-to-one. A chunk function must be thread-safe to be used in a multi-threaded application.
Since:
3.4.0
Author:
Peter Hollemans
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(List<DataChunk> inputChunks)
    Applies some function to a list of chunks.
  • Method Details

    • apply

      DataChunk apply(List<DataChunk> inputChunks)
      Applies some function to a list of chunks.
      Parameters:
      inputChunks - the list of chunks as input to the function.
      Returns:
      the output chunk of the function, or null if no valid output chunk could be computed.