Class TopicSchema

java.lang.Object
org.apache.pulsar.functions.source.TopicSchema

public class TopicSchema extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    TopicSchema(org.apache.pulsar.client.api.PulsarClient client, ClassLoader functionsClassloader)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.pulsar.client.api.Schema<?>
    getSchema(String topic, Class<?> clazz, String schemaTypeOrClassName, boolean input)
     
    org.apache.pulsar.client.api.Schema<?>
    getSchema(String topic, Class<?> clazz, String schemaTypeOrClassName, boolean input, ClassLoader classLoader)
     
    org.apache.pulsar.client.api.Schema<?>
    getSchema(String topic, Class<?> clazz, Optional<org.apache.pulsar.common.schema.SchemaType> schemaType)
     
    org.apache.pulsar.client.api.Schema<?>
    getSchema(String topic, Class<?> clazz, org.apache.pulsar.common.functions.ConsumerConfig conf, boolean input)
     
    org.apache.pulsar.client.api.Schema<?>
    getSchema(String topic, Class<?> clazz, org.apache.pulsar.common.functions.ConsumerConfig conf, boolean input, ClassLoader classLoader)
     
    org.apache.pulsar.client.api.Schema<?>
    getSchema(String topic, Class<?> clazz, org.apache.pulsar.common.schema.SchemaType schemaType)
     
    org.apache.pulsar.client.api.Schema<?>
    getSchema(String topic, Object object, String schemaTypeOrClassName, boolean input)
     

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • TopicSchema

      public TopicSchema(org.apache.pulsar.client.api.PulsarClient client, ClassLoader functionsClassloader)
  • Method Details

    • getSchema

      public org.apache.pulsar.client.api.Schema<?> getSchema(String topic, Object object, String schemaTypeOrClassName, boolean input)
    • getSchema

      public org.apache.pulsar.client.api.Schema<?> getSchema(String topic, Class<?> clazz, String schemaTypeOrClassName, boolean input)
    • getSchema

      public org.apache.pulsar.client.api.Schema<?> getSchema(String topic, Class<?> clazz, org.apache.pulsar.common.functions.ConsumerConfig conf, boolean input)
    • getSchema

      public org.apache.pulsar.client.api.Schema<?> getSchema(String topic, Class<?> clazz, Optional<org.apache.pulsar.common.schema.SchemaType> schemaType)
    • getSchema

      public org.apache.pulsar.client.api.Schema<?> getSchema(String topic, Class<?> clazz, org.apache.pulsar.common.schema.SchemaType schemaType)
    • getSchema

      public org.apache.pulsar.client.api.Schema<?> getSchema(String topic, Class<?> clazz, String schemaTypeOrClassName, boolean input, ClassLoader classLoader)
    • getSchema

      public org.apache.pulsar.client.api.Schema<?> getSchema(String topic, Class<?> clazz, org.apache.pulsar.common.functions.ConsumerConfig conf, boolean input, ClassLoader classLoader)