Class StandardFunctions


  • @Internal
    public class StandardFunctions
    extends java.lang.Object
    Adds standard functions to a Registrar.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void add​(Registrar registrar, DynamicProto dynamicProto, CelOptions celOptions)
      Adds CEL standard functions to the given registrar.
      static void addNonInlined​(Registrar registrar, CelOptions celOptions)
      Adds CEL standard functions to the given registrar, omitting those that can be inlined by FuturesInterpreter.
      static void addNonInlined​(Registrar registrar, RuntimeEquality runtimeEquality, CelOptions celOptions)
      Adds CEL standard functions to the given registrar, omitting those that can be inlined by FuturesInterpreter.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • add

        public static void add​(Registrar registrar,
                               DynamicProto dynamicProto,
                               CelOptions celOptions)
        Adds CEL standard functions to the given registrar.

        Note this does not add functions which do not use strict argument evaluation order, as 'conditional', 'logical_and', and 'logical_or'. Those functions need to be dealt with ad-hoc.

      • addNonInlined

        public static void addNonInlined​(Registrar registrar,
                                         CelOptions celOptions)
        Adds CEL standard functions to the given registrar, omitting those that can be inlined by FuturesInterpreter.
      • addNonInlined

        public static void addNonInlined​(Registrar registrar,
                                         RuntimeEquality runtimeEquality,
                                         CelOptions celOptions)
        Adds CEL standard functions to the given registrar, omitting those that can be inlined by FuturesInterpreter.