public class KafkaSchemaWrappedSchema extends Object implements Schema<byte[]>, Serializable
BOOL, BYTEBUFFER, BYTES, DATE, DOUBLE, FLOAT, INSTANT, INT16, INT32, INT64, INT8, LOCAL_DATE, LOCAL_DATE_TIME, LOCAL_TIME, STRING, TIME, TIMESTAMP| Constructor and Description |
|---|
KafkaSchemaWrappedSchema(org.apache.pulsar.kafka.shade.avro.Schema schema,
org.apache.kafka.connect.storage.Converter converter) |
| Modifier and Type | Method and Description |
|---|---|
Schema<byte[]> |
clone() |
byte[] |
encode(byte[] data) |
org.apache.pulsar.common.schema.SchemaInfo |
getSchemaInfo() |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitAUTO_CONSUME, AUTO_PRODUCE_BYTES, AUTO_PRODUCE_BYTES, AUTO, AVRO, AVRO, configureSchemaInfo, decode, decode, decode, generic, getNativeSchema, getSchema, JSON, JSON, KeyValue, KeyValue, KeyValue, KeyValue, KV_BYTES, PROTOBUF_NATIVE, PROTOBUF_NATIVE, PROTOBUF, PROTOBUF, requireFetchingSchemaInfo, setSchemaInfoProvider, supportSchemaVersioning, validatepublic KafkaSchemaWrappedSchema(org.apache.pulsar.kafka.shade.avro.Schema schema, org.apache.kafka.connect.storage.Converter converter)
public org.apache.pulsar.common.schema.SchemaInfo getSchemaInfo()
getSchemaInfo in interface Schema<byte[]>Copyright © 2017–2021 Apache Software Foundation. All rights reserved.