Class CycleContext<T>
java.lang.Object
io.confluent.kafka.schemaregistry.type.logical.common.CycleContext<T>
- Direct Known Subclasses:
ToLogicalContext
A context for keeping track of the current path context in a schema conversion process.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddSeenSchema(T schema) Path-keyed map of field-default values collected during conversion.voidvoidpushFieldPath(String fieldName) voidputDefaultValue(List<Integer> path, Object value) Records a default value at the given field-index path.voidremoveSeenSchema(T schema)
-
Constructor Details
-
CycleContext
public CycleContext()
-
-
Method Details
-
addSeenSchema
-
removeSeenSchema
-
pushFieldPath
-
popFieldPath
public void popFieldPath() -
putDefaultValue
Records a default value at the given field-index path. -
getDefaultValues
Path-keyed map of field-default values collected during conversion. -
getCyclicSchemaErrorMessage
-