Class ComparableBytes
- java.lang.Object
-
- org.apache.hadoop.io.BinaryComparable
-
- org.apache.accumulo.core.dataImpl.ComparableBytes
-
- All Implemented Interfaces:
Comparable<org.apache.hadoop.io.BinaryComparable>
public class ComparableBytes extends org.apache.hadoop.io.BinaryComparable
An array of bytes wrapped so as to extend Hadoop'sBinaryComparable
class.
-
-
Field Summary
Fields Modifier and Type Field Description byte[]
data
-
Constructor Summary
Constructors Constructor Description ComparableBytes(byte[] b)
Creates a new byte wrapper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getBytes()
Gets the wrapped bytes in this object.int
getLength()
-