Class SchemaData


  • public class SchemaData
    extends java.lang.Object
    Schema data.
    • Constructor Summary

      Constructors 
      Constructor Description
      SchemaData()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static SchemaData fromSchemaInfo​(org.apache.pulsar.common.schema.SchemaInfo schemaInfo)
      Convert a schema info to a schema data.
      org.apache.pulsar.common.schema.SchemaInfo toSchemaInfo()
      Convert a schema data to a schema info.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SchemaData

        public SchemaData()
    • Method Detail

      • toSchemaInfo

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

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