Class org.apache.hadoop.io.BytesWritable
The superclass changed from java.lang.Object
to org.apache.hadoop.io.BinaryComparable
.
Removed interface org.apache.hadoop.io.WritableComparable
.
Added interface org.apache.hadoop.io.WritableComparable
.
Removed Methods |
int compareTo(Object )
|
Define the sort order of the BytesWritable. |
Added Methods |
byte[] getBytes()
|
Get the data from the BytesWritable. |
int getLength()
|
Get the current size of the buffer. |
Changed Methods |
byte[] get()
|
Now deprecated.
|
Use {@link #getBytes()} instead. |
int getSize()
|
Now deprecated.
|
Use {@link #getLength()} instead. |