Class BuiltinLibrary
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetCheckerOptions(dev.cel.checker.CelCheckerBuilder checkerBuilder) voidsetRuntimeOptions(dev.cel.runtime.CelRuntimeBuilder runtimeBuilder) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.cel.parser.CelParserLibrary
setParserOptions
-
Constructor Details
-
BuiltinLibrary
public BuiltinLibrary()
-
-
Method Details
-
setCheckerOptions
public void setCheckerOptions(dev.cel.checker.CelCheckerBuilder checkerBuilder) - Specified by:
setCheckerOptionsin interfacedev.cel.checker.CelCheckerLibrary
-
setRuntimeOptions
public void setRuntimeOptions(dev.cel.runtime.CelRuntimeBuilder runtimeBuilder) - Specified by:
setRuntimeOptionsin interfacedev.cel.runtime.CelRuntimeLibrary
-