Interface UpdateBySpec

All Known Implementing Classes:
CumMinMaxSpec, CumProdSpec, CumSumSpec, EmaSpec, FillBySpec

public interface UpdateBySpec
A Specification for an updateBy operation. Implementations of this are essentially tagging classes for the underlying visitor classes to walk to produce a final operation.
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Interface Description
    static interface  UpdateBySpec.Visitor  
  • Method Summary

    Modifier and Type Method Description
    boolean applicableTo​(Class<?> inputType)
    Determine if this spec can be applied to the specified type
    String describe()
    Get a description of the operation requested.
    <V extends UpdateBySpec.Visitor>
    V
    walk​(V v)  
  • Method Details

    • describe

      @NotNull String describe()
      Get a description of the operation requested.
      Returns:
      a description of the operation
    • applicableTo

      boolean applicableTo​(@NotNull Class<?> inputType)
      Determine if this spec can be applied to the specified type
      Parameters:
      inputType -
      Returns:
      true if this spec can be applied to the specified input type
    • walk

      <V extends UpdateBySpec.Visitor> V walk​(@NotNull V v)