T - Type of data supported by this EncodedDatumpublic class CustomEncodingDatum<T> extends Object implements EncodedDatum
CustomEncoding| Constructor and Description | 
|---|
| CustomEncodingDatum(CustomEncodingWrapper<T> encoding,
                   T datum) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | write(org.apache.avro.io.Encoder encoder)Callback invoked when it is time to write this datum to the output | 
public CustomEncodingDatum(CustomEncodingWrapper<T> encoding, T datum)
public void write(org.apache.avro.io.Encoder encoder)
           throws IOException
EncodedDatumwrite in interface EncodedDatumencoder - Encoder to which the datum should be writtenIOException - if there was an error writing out the datumCopyright © 2019 FasterXML. All rights reserved.