Top Description Methods
com.fasterxml.jackson.dataformat.avro.ser

public Interface EncodedDatum

Known Direct Implementers
com.fasterxml.jackson.dataformat.avro.ser.CustomEncodingDatum
Imports
java.io.IOException, org.apache.avro.io.Encoder, com.fasterxml.jackson.dataformat.avro.AvroGenerator

Interface for handling opaque avro-encoded objects. These can be written with AvroGenerator#writeEmbeddedObject(Object) and will be written directly to the encoder.

Method Summary

Modifier and TypeMethod and Description
public void
write(Encoder
Encoder to which the datum should be written
encoder
)

Callback invoked when it is time to write this datum to the output

Method Detail

writeback to summary
public void write(Encoder encoder) throws IOException

Callback invoked when it is time to write this datum to the output

Parameters
encoder:Encoder

Encoder to which the datum should be written

Exceptions
IOException:
if there was an error writing out the datum