类 AvroBaseStructSchema<T>
java.lang.Object
org.apache.pulsar.client.impl.schema.AbstractSchema<T>
org.apache.pulsar.client.impl.schema.AbstractStructSchema<T>
org.apache.pulsar.client.impl.schema.AvroBaseStructSchema<T>
- 直接已知子类:
AvroSchema,GenericSchemaImpl,JSONSchema,ProtobufSchema
This is a base schema implementation for Avro Based `Struct` types.
A struct type is used for presenting records (objects) which
have multiple fields.
Currently Pulsar supports 3 `Struct` types -
SchemaType.AVRO,
SchemaType.JSON,
and SchemaType.PROTOBUF.
-
字段概要
字段从类继承的字段 org.apache.pulsar.client.impl.schema.AbstractStructSchema
LOG, reader, schemaInfo, schemaInfoProvider, writer从接口继承的字段 org.apache.pulsar.client.api.Schema
BOOL, BYTEBUFFER, BYTES, DATE, DOUBLE, FLOAT, INSTANT, INT16, INT32, INT64, INT8, LOCAL_DATE, LOCAL_DATE_TIME, LOCAL_TIME, STRING, TIME, TIMESTAMP -
构造器概要
构造器 -
方法概要
从类继承的方法 org.apache.pulsar.client.impl.schema.AbstractStructSchema
atSchemaVersion, decode, decode, decode, decode, decode, decode, encode, getReader, getSchemaInfo, setReader, setSchemaInfoProvider, setWriter从类继承的方法 org.apache.pulsar.client.impl.schema.AbstractSchema
clone从类继承的方法 java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.apache.pulsar.client.api.Schema
configureSchemaInfo, requireFetchingSchemaInfo, supportSchemaVersioning, validate
-
字段详细资料
-
schema
protected final org.apache.avro.Schema schema
-
-
构造器详细资料
-
AvroBaseStructSchema
-
-
方法详细资料
-
getAvroSchema
public org.apache.avro.Schema getAvroSchema() -
getNativeSchema
-