Package dev.cel.checker
-
Interface Summary Interface Description CelChecker Public interface for type-checking parsed CEL expressions.CelCheckerBuilder Interface for building an instance of CelCheckerCelCheckerLibrary CelCheckerLibrary defines the interface to extend functionalities beyond the CEL standard functions forCelChecker.CelStandardDeclarations.Builder.FunctionFilter Functional interface for filtering standard functions.CelStandardDeclarations.Builder.IdentifierFilter Functional interface for filtering standard identifiers.CelStandardDeclarations.StandardOverload General interface for defining a standard function overload.TypeProvider Deprecated. UseCelTypeProviderinstead. -
Class Summary Class Description CelCheckerLegacyImpl CelCheckerimplementation which uses the original CEL-Java APIs to provide a simple, consistent interface for type-checking.CelCheckerLegacyImpl.Builder Builder class for the legacyCelCheckerimplementation.CelIdentDecl Abstract representation of a CEL identifier declaration.CelIdentDecl.Builder Builder for configuring theCelIdentDecl.CelProtoExprVisitor CEL expression visitor implementation based on theExprproto.CelStandardDeclarations Standard declarations for CEL.CelStandardDeclarations.Builder Builder for constructing the set of standard function/identifiers.CelStandardDeclarations.StandardFunction.Overload Container class for CEL standard function overloads.DescriptorTypeProvider TheDescriptorTypeProviderprovides type information for one or moreDescriptors.Descriptorinstances of proto messages.DescriptorTypeProvider.EnumValueDef Value object for an enumDescriptorTypeProvider.EnumValueDef.name()andDescriptorTypeProvider.EnumValueDef.value().DescriptorTypeProvider.FieldDef Value object for a proto-based field definition.DescriptorTypeProvider.MapEntryDef Value object for Map entryTypeDefinformation.DescriptorTypeProvider.SymbolTable Helper class to construct a symbol table for messages, enums, and their respective declarations.DescriptorTypeProvider.TypeDef Value object for a proto-based primitive, message, or enum definition.Env Environment used during checking of expressions.Env.DeclGroup Object for managing a group of declarations within a scope.Env.FunctionBuilder Deprecated. UseCelFunctionDecl.newBuilder()instead.Env.IdentBuilder Deprecated. UseCelVarDecl#newBuilder()instead.ExprChecker Deprecated. Please migrate to CEL-Java Fluent APIs instead.ExprChecker.OverloadResolution Helper object for holding an overload resolution result.ExprVisitor CEL expression visitor implementation.InferenceContext An object holding a context for type inference.ProtoTypeMask ProtoTypeMaskdescribes the fraction of a protobuf type's object graph that should be visible within CEL expressions.ProtoTypeMaskTypeProvider TheProtoTypeMaskTypeProviderbinds a set ofProtoTypeMaskinstances to type definitions and ensures that only fields which have been explicitly listed by the set ofProtoTypeMaskvalues is exposed within the CEL type system.TypeFormatter Class to formatTypeobjects intoStringvalues.TypeProvider.CombinedTypeProvider TheCombinedTypeProvidertakes one or moreTypeProviderinstances and attempts to look up aTypeinstance for a giventypeNameby calling eachTypeProviderin the order that they are provided to the constructor.TypeProvider.ExtensionFieldType Result of aTypeProvider.lookupExtensionType(java.lang.String)call.TypeProvider.FieldType Result of aTypeProvider.lookupFieldType(dev.cel.expr.Type, java.lang.String)call.Types Utilities for dealing with theTypeproto. -
Enum Summary Enum Description CelStandardDeclarations.StandardFunction Enumeration of Standard Functions.CelStandardDeclarations.StandardFunction.Overload.Arithmetic Overloads for performing arithmetic operations.CelStandardDeclarations.StandardFunction.Overload.BooleanOperator Overloads for logical operators that return a bool as a result.CelStandardDeclarations.StandardFunction.Overload.Comparison Overloads for performing numeric comparisons.CelStandardDeclarations.StandardFunction.Overload.Conversions Overloads for performing type conversions.CelStandardDeclarations.StandardFunction.Overload.DateTime Overloads for functions performing date/time operations.CelStandardDeclarations.StandardFunction.Overload.Index Overloads for indexing a list or a map.CelStandardDeclarations.StandardFunction.Overload.InternalOperator Overloads for internal functions that may have been rewritten by macros (ex: @in), or those used for special purposes (comprehensions, type denotations etc).CelStandardDeclarations.StandardFunction.Overload.Relation Overloads for functions that test relations.CelStandardDeclarations.StandardFunction.Overload.Size Overloads for retrieving the size of a literal or a collection.CelStandardDeclarations.StandardFunction.Overload.StringMatchers Overloads for functions performing string matching, such as regular expressions or contains check.CelStandardDeclarations.StandardIdentifier Standard CEL identifiers.ExprVisitor.ComprehensionArg ComprehensionArg specifies the arg ordinal values for comprehension arguments, where the ordinal of the enum maps to the ordinal of the argument in the comprehension expression.