类 AvroWriter<T>

java.lang.Object
org.apache.pulsar.client.impl.schema.writer.AvroWriter<T>
所有已实现的接口:
SchemaWriter<T>

public class AvroWriter<T> extends Object implements SchemaWriter<T>
  • 构造器详细资料

    • AvroWriter

      public AvroWriter(org.apache.avro.Schema schema)
    • AvroWriter

      public AvroWriter(org.apache.avro.Schema schema, boolean jsr310ConversionEnabled)
  • 方法详细资料

    • getEncoder

      public org.apache.avro.io.BinaryEncoder getEncoder()
    • write

      public byte[] write(T message)
      指定者:
      write 在接口中 SchemaWriter<T>