Class BuiltinDeclarations

java.lang.Object
io.confluent.kafka.schemaregistry.rules.cel.builtin.BuiltinDeclarations

public final class BuiltinDeclarations extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static List<dev.cel.common.CelFunctionDecl>
    Function declarations for the extension family the schema-rules CEL surface exposes: the seven string-validation members (isEmail, isHostname, isIpv4, isIpv6, isUri, isUriRef, isUuid), the Decimal / Timestamp / Variant function families.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • create

      public static List<dev.cel.common.CelFunctionDecl> create()
      Function declarations for the extension family the schema-rules CEL surface exposes: the seven string-validation members (isEmail, isHostname, isIpv4, isIpv6, isUri, isUriRef, isUuid), the Decimal / Timestamp / Variant function families.

      Returns an immutable list so callers can safely combine it with their own decls (logical-types adds a _[_] overload for synthetic root struct types, for example).