public class ChunkWritable
extends java.lang.Object
implements org.apache.hadoop.io.Writable
Modifier and Type | Field and Description |
---|---|
byte[] |
box |
Constructor and Description |
---|
ChunkWritable() |
Modifier and Type | Method and Description |
---|---|
void |
readFields(java.io.DataInput in)
Deserializes the fields of this object from
in . |
void |
write(java.io.DataOutput out)
Serializes the fields of this object to
out . |
public void write(java.io.DataOutput out)
out
.write
in interface org.apache.hadoop.io.Writable
out
- DataOutput
to serialize this object into.java.lang.UnsupportedOperationException
- this function is not supportedpublic void readFields(java.io.DataInput in)
in
.
For efficiency, implementations should attempt to re-use storage in the existing object where possible.
readFields
in interface org.apache.hadoop.io.Writable
in
- DataInput
to deserialize this object from.java.lang.UnsupportedOperationException
- this function is not supported