Class SchemaInfoUtil

java.lang.Object
org.apache.pulsar.client.impl.schema.SchemaInfoUtil

public class SchemaInfoUtil extends Object
Class helping to initialize schemas.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.apache.pulsar.common.schema.SchemaInfo
    newSchemaInfo(String name, org.apache.pulsar.common.protocol.schema.GetSchemaResponse schema)
     
    static org.apache.pulsar.common.schema.SchemaInfo
    newSchemaInfo(String name, org.apache.pulsar.common.protocol.schema.SchemaData data)
     
    static org.apache.pulsar.common.schema.SchemaInfo
    newSchemaInfo(org.apache.pulsar.common.api.proto.Schema schema)
     

    Methods inherited from class java.lang.Object

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

    • SchemaInfoUtil

      public SchemaInfoUtil()
  • Method Details

    • newSchemaInfo

      public static org.apache.pulsar.common.schema.SchemaInfo newSchemaInfo(String name, org.apache.pulsar.common.protocol.schema.SchemaData data)
    • newSchemaInfo

      public static org.apache.pulsar.common.schema.SchemaInfo newSchemaInfo(org.apache.pulsar.common.api.proto.Schema schema)
    • newSchemaInfo

      public static org.apache.pulsar.common.schema.SchemaInfo newSchemaInfo(String name, org.apache.pulsar.common.protocol.schema.GetSchemaResponse schema)