Class ProtoToLogicalTypeConverter
java.lang.Object
io.confluent.kafka.schemaregistry.type.logical.protobuf.ProtoToLogicalTypeConverter
Converts Protobuf
Descriptors.Descriptor to logical type Schema.
Default-value path emission. ARRAY contributes no index — descending into its element
type uses the parent path directly. flink.wrapped wrapper structs
(_RepeatedWrapper, _ElementWrapper, _OneofWrapper) are also transparent:
see convertWrapperPayload, which walks the wrapper's "value" payload (regular field or
oneof) directly with the parent indexPath. All other container conventions follow
LogicalType.getDefaultValues().
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LogicalTypetoLogicalType(ProtobufSchema schema) static SchematoRootSchema(ProtobufSchema schema)
-
Constructor Details
-
ProtoToLogicalTypeConverter
public ProtoToLogicalTypeConverter()
-
-
Method Details
-
toRootSchema
-
toLogicalType
-