public class ProtobufNativeSchemaFactory<T extends com.google.protobuf.GeneratedMessageV3> extends BaseStructSchemaFactory<T>
ProtobufNativeSchema
.Constructor and Description |
---|
ProtobufNativeSchemaFactory() |
Modifier and Type | Method and Description |
---|---|
org.apache.pulsar.client.api.Schema<T> |
createSchema(org.apache.pulsar.common.schema.SchemaInfo info)
Create the schema by the given info.
|
org.apache.pulsar.common.schema.SchemaType |
type()
The supported schema type for this factory.
|
createTypeInfo
public org.apache.pulsar.common.schema.SchemaType type()
PulsarSchemaFactory
public org.apache.pulsar.client.api.Schema<T> createSchema(org.apache.pulsar.common.schema.SchemaInfo info)
PulsarSchemaFactory
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.