类 AvroBaseStructSchema<T>

所有已实现的接口:
Cloneable, Schema<T>
直接已知子类:
AvroSchema, GenericSchemaImpl, JSONSchema, ProtobufSchema

public abstract class AvroBaseStructSchema<T> extends AbstractStructSchema<T>
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.

  • 字段详细资料

    • schema

      protected final org.apache.avro.Schema schema
  • 构造器详细资料

    • AvroBaseStructSchema

      public AvroBaseStructSchema(SchemaInfo schemaInfo)
  • 方法详细资料

    • getAvroSchema

      public org.apache.avro.Schema getAvroSchema()
    • getNativeSchema

      public Optional<Object> getNativeSchema()