Package dev.cel.runtime
-
Interface Summary Interface Description CelAttributeResolver Resolver for attribute lookups at runtime.CelEvaluationListener Functional interface for a callback method invoked by the runtime.CelFunctionBinding Binding consisting of an overload id, a Java-native argument signature, and an overload definition.CelFunctionOverload Interface describing the general signature of all CEL custom function implementations.CelFunctionOverload.Binary<T1,T2> Helper interface for describing binary functions where the type parameters are used to improve compile-time correctness of function bindings.CelFunctionOverload.Unary<T> Helper interface for describing unary functions where the type-parameter is used to improve compile-time correctness of function bindings.CelFunctionResolver Interface to a resolver for CEL functions based on the function name, overload ids, and arguments.CelInternalRuntimeLibrary CelInternalRuntimeLibrary defines the interface to extend functionalities beyond the CEL standard functions forCelRuntime, with access to runtime internals.CelRuntime The CelRuntime creates executablePrograminstances fromCelAbstractSyntaxTreevalues.CelRuntime.Program Creates an evaluablePrograminstance which is thread-safe and immutable.CelRuntimeBuilder Interface for building an instance of CelRuntimeCelRuntimeLibrary CelRuntimeLibrary defines the interface to extend functionalities beyond the CEL standard functions forCelRuntime.CelStandardFunctions.Builder.FunctionFilter Functional interface for filtering standard functions.CelVariableResolver Functional interface that exposes a method to find a CEL variable value by name.GlobalResolver An interface describing an object that can perform a lookup on a given name, returning the value associated with the so-named global variable.InternalCelFunctionBinding Internal interface to expose the function name associated with a binding.Interpretable Represent an expression which can be interpreted repeatedly using a given activation.Interpreter Interface to a CEL interpreter.MessageFactory Deprecated. Do not use.MessageProvider An object which allows to create and interpret messages.Metadata An interface which provides metadata for syntax nodes.Program Creates an evaluablePrograminstance which is thread-safe and immutable.Registrar Deprecated. Do not use.Registrar.BinaryFunction<T1,T2> Helper interface for describing binary functions where the type parameters are used to improve compile-time correctness of function bindings.Registrar.Function Interface describing the general signature of all CEL custom function implementations.Registrar.UnaryFunction<T> Helper interface for describing unary functions where the type-parameter is used to improve compile-time correctness of function bindings.RuntimeTypeProvider TheRuntimeTypeProvideris a combination of theMessageProviderandTypeResolverinterfaces.UnknownTrackingInterpretable An interpretable that allows for tracking unknowns at runtime. -
Class Summary Class Description AccumulatedUnknowns An internal representation used for fast accumulation of unknown expr IDs and attributes.Activation An object which allows to bind names to values.CelAttribute CelAttribute represents the select path from the root (.) to a single leaf value that may be derived from the activation (e.g.CelAttribute.Qualifier Representation of a single select qualifier or index.CelAttributePattern A Pattern for matching againstCelAttributes.CelEvaluationExceptionBuilder CEL Library Internals.CelLateFunctionBindings Collection ofCelFunctionBindingvalues which are intended to be created once per-evaluation, rather than once per-program setup.CelResolvedOverload Representation of a function overload which has been resolved to a specific set of argument types and a function definition.CelRuntimeFactory Helper class to construct newCelRuntimeinstances.CelRuntimeImpl CelRuntimeimplementation based on theProgramPlanner.CelRuntimeImpl.Builder Builder forCelRuntimeImpl.CelRuntimeLegacyImpl CelRuntimeimplementation based on the legacy CEL-Java stack.CelRuntimeLegacyImpl.Builder Builder class forCelRuntimeLegacyImpl.CelStandardFunctions Runtime function bindings for the standard functions in CEL.CelStandardFunctions.Builder Builder for constructing the set of standard function/identifiers.CelUnknownSet Unknown set representation.ConcatenatedListView<E> A custom list view implementation that allows O(1) concatenation of two lists.DefaultDispatcher Default implementation of dispatcher.DefaultDispatcher.Builder Builder forDefaultDispatcher.DefaultMetadata Metadata implementation based onCelAbstractSyntaxTree.DescriptorMessageProvider An implementation ofRuntimeTypeProviderwhich relies on proto descriptors.DescriptorTypeResolver DescriptorTypeResolverextendsTypeResolverand additionally resolves incoming protobuf message types using descriptors.DynamicMessageFactory Deprecated. Do not use.InternalFunctionBinder A helper to create CelFunctionBinding instances with sensitive controls, such as to toggle the strictness of the function.InterpreterUtil Util class for CEL interpreter.MessageFactory.CombinedMessageFactory TheCombinedMessageFactorytakes one or moreMessageFactoryinstances and attempts to create aMessage.Builderinstance for a givenmessageNameby calling eachMessageFactoryin the order that they are provided to the constructor.PartialVars A holder for aCelVariableResolverand a set ofCelAttributePatterns that indicate variables or parts of variables whose value are not yet known.ProtoMessageRuntimeEquality ProtoMessageRuntimeEquality contains methods for performing CEL related equality checks, including full protobuf messages by leveraging descriptors.ProtoMessageRuntimeHelpers Helper methods for common CEL related routines that require a full protobuf dependency.RuntimeEquality RuntimeEquality contains methods for performing CEL related equality checks.RuntimeHelpers Helper methods for common CEL related routines.RuntimeUnknownResolver Runtime representation of the current state in an iterative evaluation session.RuntimeUnknownResolver.Builder Builder forRuntimeUnknownResolver.TypeResolver TypeResolverresolves incomingCelTypeintoTypeType., either as part of a type call (type('foo'), type(1), etc.) or as a type literal (type, int, string, etc.)UnknownContext AsyncContext represents the state required for an iterative evaluation session in the CEL evaluator. -
Enum Summary Enum Description CelAttribute.Qualifier.Kind Legal attribute qualifier kinds.CelStandardFunctions.StandardFunction Enumeration of Standard Function bindings. -
Exception Summary Exception Description CelEvaluationException CelEvaluationException encapsulates the potential issues which could arise during the configuration or evaluation of an expressionProgram.