public abstract class AvroWritable extends Object implements org.apache.hadoop.io.Writable
| Constructor and Description |
|---|
AvroWritable() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
avroRead(org.apache.avro.io.Decoder decoder) |
protected abstract void |
avroWrite(org.apache.avro.io.Encoder encoder) |
void |
readFields(DataInput dataInput) |
void |
write(DataOutput dataOutput) |
public void write(DataOutput dataOutput) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionprotected abstract void avroWrite(org.apache.avro.io.Encoder encoder)
throws IOException
IOExceptionpublic void readFields(DataInput dataInput) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionprotected abstract void avroRead(org.apache.avro.io.Decoder decoder)
throws IOException
IOExceptionCopyright © 2016. All Rights Reserved.