Package org.apache.accumulo.core.data
Class ComparableBytes
- java.lang.Object
-
- org.apache.hadoop.io.BinaryComparable
-
- org.apache.accumulo.core.data.ComparableBytes
-
- All Implemented Interfaces:
Comparable<org.apache.hadoop.io.BinaryComparable>
@Deprecated public class ComparableBytes extends org.apache.hadoop.io.BinaryComparable
Deprecated.since 1.7.0 In an attempt to clean up types in the data package that were not intended to be in public API this type was deprecated. Technically this method was not considered part of the public API in 1.6.0 and earlier, therefore it could have been deleted. However a decision was made to deprecate in order to be cautious and avoid confusion between 1.6.0 and 1.7.0.An array of bytes wrapped so as to extend Hadoop'sBinaryComparable
class.
-
-
Field Summary
Fields Modifier and Type Field Description byte[]
data
Deprecated.
-
Constructor Summary
Constructors Constructor Description ComparableBytes(byte[] b)
Deprecated.Creates a new byte wrapper.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description byte[]
getBytes()
Deprecated.Gets the wrapped bytes in this object.int
getLength()
Deprecated.
-