org.apache.hadoop.hbase.regionserver.tableindexed
Class IndexMaintenanceUtils
java.lang.Object
org.apache.hadoop.hbase.regionserver.tableindexed.IndexMaintenanceUtils
public class IndexMaintenanceUtils
- extends Object
Singleton class for index maintence logic.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexMaintenanceUtils
public IndexMaintenanceUtils()
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