org.apache.hadoop.hbase.filter
Class BinaryComparator

java.lang.Object
  extended by org.apache.hadoop.hbase.filter.WritableByteArrayComparable
      extended by org.apache.hadoop.hbase.filter.BinaryComparator
All Implemented Interfaces:
Comparable<byte[]>, org.apache.hadoop.io.Writable

public class BinaryComparator
extends WritableByteArrayComparable

A binary comparator which lexicographically compares against the specified byte array using Bytes.compareTo(byte[], byte[]).


Constructor Summary
BinaryComparator()
          Nullary constructor for Writable, do not use
BinaryComparator(byte[] value)
          Constructor
 
Method Summary
 
Methods inherited from class org.apache.hadoop.hbase.filter.WritableByteArrayComparable
compareTo, getValue, readFields, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryComparator

public BinaryComparator()
Nullary constructor for Writable, do not use


BinaryComparator

public BinaryComparator(byte[] value)
Constructor

Parameters:
value - value


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.