Interface TerminalOperationOptimizer

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface TerminalOperationOptimizer
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> Pipeline<T>
    optimize(Pipeline<T> pipeline)
    Potentially optimizes the provided pipeline depending on the terminal operation.
  • Method Details

    • optimize

      <T> Pipeline<T> optimize(Pipeline<T> pipeline)
      Potentially optimizes the provided pipeline depending on the terminal operation.
      Type Parameters:
      T - pipeline type
      Parameters:
      pipeline - to modify
      Returns:
      the modified pipeline