Class AvroWriter<T>
java.lang.Object
org.apache.pulsar.client.impl.schema.writer.AvroWriter<T>
- All Implemented Interfaces:
SchemaWriter<T>
-
Constructor Summary
ConstructorsConstructorDescriptionAvroWriter(org.apache.avro.Schema schema) AvroWriter(org.apache.avro.Schema schema, boolean jsr310ConversionEnabled) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.avro.io.BinaryEncoderbyte[]
-
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:
writein interfaceSchemaWriter<T>
-