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.
|
getArrayElements, getArraySize, getData, getMapEntries, getMapSize, npe, resolveUnion, setSchema, write, write, writeArray, writeEnum, writeFixed, writeMap, writeRecord, writeString, writeString
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-2012 The Apache Software Foundation. All Rights Reserved.