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.BinaryComparableAn array of bytes wrapped so as to extend Hadoop'sBinaryComparableclass.
-
-
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.intgetLength()
-