类 StructSchema<T>

所有已实现的接口:
Cloneable, Schema<T>

@Deprecated public abstract class StructSchema<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
      已过时。
  • 构造器详细资料

    • StructSchema

      protected StructSchema(SchemaInfo schemaInfo)
      已过时。
  • 方法详细资料

    • getAvroSchema

      public org.apache.avro.Schema getAvroSchema()
      已过时。