Class StructSchema<T>

All Implemented Interfaces:
Cloneable, Schema<T>

@Deprecated public abstract class StructSchema<T> extends AbstractStructSchema<T>
Deprecated.
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.

  • Field Details

    • schema

      protected final org.apache.avro.Schema schema
      Deprecated.
  • Constructor Details

    • StructSchema

      protected StructSchema(SchemaInfo schemaInfo)
      Deprecated.
  • Method Details

    • getAvroSchema

      public org.apache.avro.Schema getAvroSchema()
      Deprecated.