public class StringSchemaFactory extends Object implements PulsarSchemaFactory<String>
StringSchema.| Constructor and Description |
|---|
StringSchemaFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.pulsar.client.api.Schema<String> |
createSchema(org.apache.pulsar.common.schema.SchemaInfo info)
Create the schema by the given info.
|
org.apache.flink.api.common.typeinfo.TypeInformation<String> |
createTypeInfo(org.apache.pulsar.common.schema.SchemaInfo info)
Create the flink type information by the given schema info.
|
org.apache.pulsar.common.schema.SchemaType |
type()
The supported schema type for this factory.
|
public org.apache.pulsar.common.schema.SchemaType type()
PulsarSchemaFactorytype in interface PulsarSchemaFactory<String>public org.apache.pulsar.client.api.Schema<String> createSchema(org.apache.pulsar.common.schema.SchemaInfo info)
PulsarSchemaFactorycreateSchema in interface PulsarSchemaFactory<String>public org.apache.flink.api.common.typeinfo.TypeInformation<String> createTypeInfo(org.apache.pulsar.common.schema.SchemaInfo info)
PulsarSchemaFactorycreateTypeInfo in interface PulsarSchemaFactory<String>Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.