public abstract class AvroBaseStructSchema<T> extends AbstractStructSchema<T>
Currently Pulsar supports 3 `Struct` types -
SchemaType.AVRO,
SchemaType.JSON,
and SchemaType.PROTOBUF.
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.avro.Schema |
schema |
LOG, reader, schemaInfo, schemaInfoProvider, writerBOOL, BYTEBUFFER, BYTES, DATE, DOUBLE, FLOAT, INSTANT, INT16, INT32, INT64, INT8, LOCAL_DATE, LOCAL_DATE_TIME, LOCAL_TIME, STRING, TIME, TIMESTAMP| Constructor and Description |
|---|
AvroBaseStructSchema(SchemaInfo schemaInfo) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.avro.Schema |
getAvroSchema() |
decode, decode, decode, decode, encode, getReader, getSchemaInfo, setReader, setSchemaInfoProvider, setWritercloneequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitAUTO_CONSUME, AUTO_PRODUCE_BYTES, AUTO_PRODUCE_BYTES, AUTO, AVRO, AVRO, configureSchemaInfo, generic, getSchema, JSON, JSON, KeyValue, KeyValue, KeyValue, KeyValue, KV_BYTES, PROTOBUF_NATIVE, PROTOBUF_NATIVE, PROTOBUF, PROTOBUF, requireFetchingSchemaInfo, supportSchemaVersioning, validatepublic AvroBaseStructSchema(SchemaInfo schemaInfo)
Copyright © 2017–2020 Apache Software Foundation. All rights reserved.