Uses of Class
io.confluent.kafka.schemaregistry.type.logical.constraint.ConstraintValidationContext
Packages that use ConstraintValidationContext
Package
Description
SQL CHECK → CEL translator.
-
Uses of ConstraintValidationContext in io.confluent.kafka.schemaregistry.type.logical.constraint
Methods in io.confluent.kafka.schemaregistry.type.logical.constraint that return ConstraintValidationContextModifier and TypeMethodDescriptionstatic ConstraintValidationContextConstraintValidationContext.columnLevel(String fieldName, Schema fieldSchema) Context for a column-level CHECK: only the attached field is in scope.static ConstraintValidationContextConstraintValidationContext.tableLevel(List<Schema.Field> fields) Context for a table-level CHECK: all fields of the surrounding struct.ConstraintValidationContext.withBinding(String name) Returns a derived context withnameadded as a known binding (e.g., a CEL macro iteration variable).ConstraintValidationContext.withBinding(String name, Schema type) Returns a derived context withnamebound totype— e.g., a CEL macro iteration variable typed as the collection's element type.ConstraintValidationContext.withNamedTypes(Map<String, Schema> types) Returns a derived context withnamedTypesattached.Methods in io.confluent.kafka.schemaregistry.type.logical.constraint with parameters of type ConstraintValidationContextModifier and TypeMethodDescriptionstatic StringConstraintToCelTranslator.translate(LogicalTypesParser.Check_exprContext ctx, ConstraintValidationContext validationContext) Translate acheck_exprparse tree to CEL.