Class CelExecutor.Bindings
java.lang.Object
io.confluent.kafka.schemaregistry.rules.cel.CelExecutor.Bindings
- Enclosing class:
- CelExecutor
Pre-converted CEL invocation context. Holds the
CelUtils.ScriptType, a
format-specific schema hint, the declTypes declarations, and the
already-CEL-shaped celArgs. Reused across multiple evaluate
calls within a single transform/execute so guard and body
share the same conversions.-
Method Summary
Modifier and TypeMethodDescriptionThe value bound for themessagevariable, used by the identity short-circuit inCelExecutor.transform(io.confluent.kafka.schemaregistry.rules.RuleContext, java.lang.Object).celArgs()Read-only view of the converted CEL args.obj()type()
-
Method Details
-
type
-
celArgs
Read-only view of the converted CEL args. Wrapped to prevent subclasses from mutating betweenbindandevaluate(which would break the cache key invariants and the identity short-circuit). The wrapper preserves reference semantics on values, soboundMessage()still compares equal to the result of an identity-rule evaluation. -
obj
-
boundMessage
The value bound for themessagevariable, used by the identity short-circuit inCelExecutor.transform(io.confluent.kafka.schemaregistry.rules.RuleContext, java.lang.Object).
-