org.apache.hadoop.hbase.regionserver
Class DeleteCompare

java.lang.Object
  extended by org.apache.hadoop.hbase.regionserver.DeleteCompare

public class DeleteCompare
extends Object

Class that provides static method needed when putting deletes into memstore


Constructor Summary
DeleteCompare()
           
 
Method Summary
static org.apache.hadoop.hbase.regionserver.DeleteCompare.DeleteCode deleteCompare(KeyValue mem, byte[] deleteBuffer, int deleteRowOffset, short deleteRowLength, int deleteQualifierOffset, int deleteQualifierLength, int deleteTimeOffset, byte deleteType, KeyValue.KeyComparator comparator)
          Method used when putting deletes into memstore to remove all the previous entries that are affected by this Delete
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteCompare

public DeleteCompare()
Method Detail

deleteCompare

public static org.apache.hadoop.hbase.regionserver.DeleteCompare.DeleteCode deleteCompare(KeyValue mem,
                                                                                          byte[] deleteBuffer,
                                                                                          int deleteRowOffset,
                                                                                          short deleteRowLength,
                                                                                          int deleteQualifierOffset,
                                                                                          int deleteQualifierLength,
                                                                                          int deleteTimeOffset,
                                                                                          byte deleteType,
                                                                                          KeyValue.KeyComparator comparator)
Method used when putting deletes into memstore to remove all the previous entries that are affected by this Delete

Parameters:
mem -
deleteBuffer -
deleteRowOffset -
deleteRowLength -
deleteQualifierOffset -
deleteQualifierLength -
deleteTimeOffset -
deleteType -
comparator -
Returns:
SKIP if current KeyValue should not be deleted, DELETE if current KeyValue should be deleted and DONE when the current KeyValue is out of the Deletes range


Copyright © 2010 The Apache Software Foundation