java.lang.Object
io.confluent.kafka.schemaregistry.rules.cel.builtin.BuiltinLibrary
All Implemented Interfaces:
dev.cel.checker.CelCheckerLibrary, dev.cel.compiler.CelCompilerLibrary, dev.cel.parser.CelParserLibrary, dev.cel.runtime.CelRuntimeLibrary

public class BuiltinLibrary extends Object implements dev.cel.compiler.CelCompilerLibrary, dev.cel.runtime.CelRuntimeLibrary
Schema Registry's built-in CEL function library. Implements both CelCompilerLibrary (so BuiltinDeclarations's function declarations are added to the type-checker) and CelRuntimeLibrary (so BuiltinOverload's function bindings are added to the runtime).
  • Constructor Details

    • BuiltinLibrary

      public BuiltinLibrary()
  • Method Details

    • setCheckerOptions

      public void setCheckerOptions(dev.cel.checker.CelCheckerBuilder checkerBuilder)
      Specified by:
      setCheckerOptions in interface dev.cel.checker.CelCheckerLibrary
    • setRuntimeOptions

      public void setRuntimeOptions(dev.cel.runtime.CelRuntimeBuilder runtimeBuilder)
      Specified by:
      setRuntimeOptions in interface dev.cel.runtime.CelRuntimeLibrary