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