org.apache.accumulo.core.data
Class ComparableBytes

java.lang.Object
  extended by org.apache.hadoop.io.BinaryComparable
      extended by org.apache.accumulo.core.data.ComparableBytes
All Implemented Interfaces:
Comparable<org.apache.hadoop.io.BinaryComparable>

public class ComparableBytes
extends org.apache.hadoop.io.BinaryComparable


Field Summary
 byte[] data
           
 
Constructor Summary
ComparableBytes(byte[] b)
           
 
Method Summary
 byte[] getBytes()
           
 int getLength()
           
 
Methods inherited from class org.apache.hadoop.io.BinaryComparable
compareTo, compareTo, equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

public byte[] data
Constructor Detail

ComparableBytes

public ComparableBytes(byte[] b)
Method Detail

getBytes

public byte[] getBytes()
Specified by:
getBytes in class org.apache.hadoop.io.BinaryComparable

getLength

public int getLength()
Specified by:
getLength in class org.apache.hadoop.io.BinaryComparable


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.