public class ThriftDatumWriter<T>
extends org.apache.avro.generic.GenericDatumWriter<T>
DatumWriter for generated thrift
classes.| Modifier | Constructor and Description |
|---|---|
|
ThriftDatumWriter() |
|
ThriftDatumWriter(Class<T> c) |
|
ThriftDatumWriter(org.apache.avro.Schema schema) |
protected |
ThriftDatumWriter(org.apache.avro.Schema root,
ThriftData thriftData) |
protected |
ThriftDatumWriter(ThriftData thriftData) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
writeBytes(Object datum,
org.apache.avro.io.Encoder out) |
addAvroTypeMsg, addClassCastMsg, convert, getArrayElements, getArraySize, getData, getMapEntries, getMapSize, npe, resolveUnion, setSchema, write, write, writeArray, writeEnum, writeField, writeFixed, writeMap, writeRecord, writeString, writeString, writeWithoutConversionpublic ThriftDatumWriter()
public ThriftDatumWriter(org.apache.avro.Schema schema)
protected ThriftDatumWriter(org.apache.avro.Schema root,
ThriftData thriftData)
protected ThriftDatumWriter(ThriftData thriftData)
protected void writeBytes(Object datum, org.apache.avro.io.Encoder out) throws IOException
writeBytes in class org.apache.avro.generic.GenericDatumWriter<T>IOExceptionCopyright © 2009–2023 The Apache Software Foundation. All rights reserved.