Class AvroToLogicalTypeConverter
java.lang.Object
io.confluent.kafka.schemaregistry.type.logical.avro.AvroToLogicalTypeConverter
Converts Avro
Schema to logical type Schema.
Default-value path emission. ARRAY contributes index 0 when descending into
its element type, so a default at arr.element.fieldA appears at path
[arrFieldIndex, 0, fieldAIndex]. All other container conventions follow
LogicalType.getDefaultValues().
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LogicalTypetoLogicalType(AvroSchema avroSchema) static SchematoRootSchema(AvroSchema avroSchema)
-
Constructor Details
-
AvroToLogicalTypeConverter
public AvroToLogicalTypeConverter()
-
-
Method Details
-
toRootSchema
-
toLogicalType
-