org.apache.hadoop.hbase.regionserver.tableindexed
Class IndexMaintenanceUtils

java.lang.Object
  extended by org.apache.hadoop.hbase.regionserver.tableindexed.IndexMaintenanceUtils

public class IndexMaintenanceUtils
extends Object

Singleton class for index maintence logic.


Constructor Summary
IndexMaintenanceUtils()
           
 
Method Summary
static BatchUpdate createIndexUpdate(IndexSpecification indexSpec, byte[] row, SortedMap<byte[],byte[]> columnValues)
           
static boolean doesApplyToIndex(IndexSpecification indexSpec, SortedMap<byte[],byte[]> columnValues)
          Ask if this update does apply to the index.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexMaintenanceUtils

public IndexMaintenanceUtils()
Method Detail

createIndexUpdate

public static BatchUpdate createIndexUpdate(IndexSpecification indexSpec,
                                            byte[] row,
                                            SortedMap<byte[],byte[]> columnValues)

doesApplyToIndex

public static boolean doesApplyToIndex(IndexSpecification indexSpec,
                                       SortedMap<byte[],byte[]> columnValues)
Ask if this update does apply to the index.

Parameters:
indexSpec -
b -
Returns:
true if possibly apply.


Copyright © 2008 The Apache Software Foundation