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.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.CelRuntime The CelRuntime creates executablePrograminstances fromCelAbstractSyntaxTreevalues.CelRuntimeBuilder Interface for building an instance of CelRuntimeCelRuntimeLibrary CelCompilerLibrary defines the interface to extend functionalities beyond the CEL standard functions forCelRuntime.CelVariableResolver Functional interface that exposes a method to find a CEL variable value by name.Dispatcher An object which implements dispatching of function calls.Dispatcher.ImmutableCopy AnImmutablecopy of aDispatcher.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.IncompleteData Deprecated. 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.PartialMessageOrBuilder Deprecated. Registrar An object which registers the functions that aDispatchercalls.Registrar.BinaryFunction<T1,T2> Interface to a typed binary function without activation argument.Registrar.Function Interface to a general function.Registrar.UnaryFunction<T> Interface to a typed unary function without activation argument.RuntimeTypeProvider TheRuntimeTypeProvideris a combination of theMessageProviderandTypeResolverinterfaces.TypeResolver TheTypeResolverdetermines the CEL type of Java-native values and assists with adapting check-time types to runtime values.UnknownTrackingInterpretable An interpretable that allows for tracking unknowns at runtime. -
Class Summary Class Description 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.CelRuntime.CelFunctionBinding Binding consisting of an overload id, a Java-native argument signature, and an overload definition.CelRuntime.Program Creates an evaluablePrograminstance which is thread-safe and immutable.CelRuntimeFactory Helper class to construct newCelRuntimeinstances.CelRuntimeLegacyImpl CelRuntimeimplementation based on the legacy CEL-Java stack.CelRuntimeLegacyImpl.Builder Builder class forCelRuntimeLegacyImpl.CelUnknownSet Unknown set representation.DefaultDispatcher Default implementation ofDispatcher.DefaultInterpreter Default implementation of the CEL interpreter.DefaultMetadata Metadata implementation based onCheckedExpr.DescriptorMessageProvider An implementation ofRuntimeTypeProviderwhich relies on proto descriptors.DynamicMessageFactory Deprecated. Do not use.InterpreterException.Builder Builder for InterpreterException.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.PartialMessage Deprecated. RuntimeEquality CEL Library Internals.RuntimeHelpers Helper methods for common CEL related routines.RuntimeTypeProviderLegacyImpl Bridge between the old RuntimeTypeProvider and CelValueProvider APIs.RuntimeUnknownResolver Runtime representation of the current state in an iterative evaluation session.RuntimeUnknownResolver.Builder Builder forRuntimeUnknownResolver.StandardFunctions Adds standard functions to aRegistrar.StandardTypeResolver TheStandardTypeResolverimplements theTypeResolverand resolves types supported by the CEL standard environment.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. -
Exception Summary Exception Description CelEvaluationException CelEvaluationException encapsulates the potential issues which could arise during the configuration or evaluation of an expressionProgram.InterpreterException An exception produced during interpretation of expressions.