Class SchemaData

java.lang.Object
org.apache.pulsar.common.protocol.schema.SchemaData

public class SchemaData extends Object
Schema data.
  • Constructor Details

    • SchemaData

      public SchemaData()
  • Method Details

    • toSchemaInfo

      public SchemaInfo toSchemaInfo()
      Convert a schema data to a schema info.
      Returns:
      the converted schema info.
    • fromSchemaInfo

      public static SchemaData fromSchemaInfo(SchemaInfo schemaInfo)
      Convert a schema info to a schema data.
      Parameters:
      schemaInfo - schema info
      Returns:
      the converted schema schema data