Class AvroWriter<T>
java.lang.Object
org.apache.pulsar.client.impl.schema.writer.AvroWriter<T>
- All Implemented Interfaces:
SchemaWriter<T>
-
Constructor Summary
ConstructorDescriptionAvroWriter
(org.apache.avro.Schema schema) AvroWriter
(org.apache.avro.Schema schema, boolean jsr310ConversionEnabled) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.avro.io.BinaryEncoder
byte[]
-
Constructor Details
-
AvroWriter
public AvroWriter(org.apache.avro.Schema schema) -
AvroWriter
public AvroWriter(org.apache.avro.Schema schema, boolean jsr310ConversionEnabled)
-
-
Method Details
-
getEncoder
public org.apache.avro.io.BinaryEncoder getEncoder() -
write
- Specified by:
write
in interfaceSchemaWriter<T>
-