Interface CelFunctionOverload

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

    @Immutable
    @FunctionalInterface
    public interface CelFunctionOverload
    Interface describing the general signature of all CEL custom function implementations.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static interface  CelFunctionOverload.Binary<T1,​T2>
      Helper interface for describing binary functions where the type parameters are used to improve compile-time correctness of function bindings.
      static interface  CelFunctionOverload.Unary<T>
      Helper interface for describing unary functions where the type-parameter is used to improve compile-time correctness of function bindings.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object apply​(java.lang.Object[] args)
      Evaluate a set of arguments throwing a CelEvaluationException on error.