Class PlannedProgram

  • All Implemented Interfaces:
    Program

    @Internal
    @Immutable
    public abstract class PlannedProgram
    extends java.lang.Object
    implements Program
    Internal implementation of a Program that executes a planned interpretable tree.

    CEL-Java internals. Do not use.

    • Constructor Summary

      Constructors 
      Constructor Description
      PlannedProgram()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object eval()
      Evaluate the expression without any variables.
      java.lang.Object eval​(CelVariableResolver resolver)
      Evaluate a compiled program with a custom variable resolver.
      java.lang.Object eval​(CelVariableResolver resolver, CelFunctionResolver lateBoundFunctionResolver)
      Evaluate a compiled program with a custom variable resolver and late-bound functions lateBoundFunctionResolver.
      java.lang.Object eval​(PartialVars partialVars)
      Evaluate a compiled program with unknown attribute patterns partialVars.
      java.lang.Object eval​(java.util.Map<java.lang.String,​?> mapValue)
      Evaluate the expression using a mapValue as the source of input variables.
      java.lang.Object eval​(java.util.Map<java.lang.String,​?> mapValue, CelFunctionResolver lateBoundFunctionResolver)
      Evaluate a compiled program with mapValue and late-bound functions lateBoundFunctionResolver.
      java.lang.Object evalOrThrow​(dev.cel.runtime.planner.PlannedInterpretable interpretable, GlobalResolver resolver, CelFunctionResolver functionResolver, @Nullable PartialVars partialVars, @Nullable CelEvaluationListener listener)  
      abstract dev.cel.runtime.planner.PlannedInterpretable interpretable()  
      abstract dev.cel.common.CelOptions options()  
      java.lang.Object trace​(GlobalResolver resolver, CelFunctionResolver functionResolver, PartialVars partialVars, CelEvaluationListener listener)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait