org.apache.hadoop.hbase.migration.nineteen
Class HStoreKey.HStoreKeyWritableComparator

java.lang.Object
  extended by org.apache.hadoop.io.WritableComparator
      extended by org.apache.hadoop.hbase.migration.nineteen.HStoreKey.HStoreKeyWritableComparator
All Implemented Interfaces:
Comparator, org.apache.hadoop.io.RawComparator
Enclosing class:
HStoreKey

public static class HStoreKey.HStoreKeyWritableComparator
extends org.apache.hadoop.io.WritableComparator

Passed as comparator for memcache and for store files. See HBASE-868.


Constructor Summary
HStoreKey.HStoreKeyWritableComparator(HRegionInfo hri)
           
 
Method Summary
 int compare(org.apache.hadoop.io.WritableComparable left, org.apache.hadoop.io.WritableComparable right)
           
 
Methods inherited from class org.apache.hadoop.io.WritableComparator
compare, compare, compareBytes, define, get, getKeyClass, hashBytes, newKey, readDouble, readFloat, readInt, readLong, readUnsignedShort, readVInt, readVLong
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

HStoreKey.HStoreKeyWritableComparator

public HStoreKey.HStoreKeyWritableComparator(HRegionInfo hri)
Parameters:
hri -
Method Detail

compare

public int compare(org.apache.hadoop.io.WritableComparable left,
                   org.apache.hadoop.io.WritableComparable right)
Overrides:
compare in class org.apache.hadoop.io.WritableComparator


Copyright © 2010 The Apache Software Foundation