|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
IndexKeyGenerator |
Class Summary | |
---|---|
IndexedTable | HTable extended with indexed support. |
IndexedTableAdmin | Extension of HBaseAdmin that creates indexed tables. |
IndexSpecification | Holds the specification for a single secondary index. |
ReverseByteArrayComparator | |
SimpleIndexKeyGenerator | Creates indexed keys for a single column.... |
Exception Summary | |
---|---|
IndexNotFoundException | Thrown when asking for an index that does not exist. |
This package provides support for secondary indexing by maintaining a separate, "index", table for each index. The IndexSpecification class provides the metadata for the index. This includes:
To enable the indexing, modify hbase-site.xml to turn on the IndexedRegionServer. This is done by setting hbase.regionserver.class to org.apache.hadoop.hbase.ipc.IndexedRegionInterface and hbase.regionserver.impl to org.apache.hadoop.hbase.regionserver.tableindexed.IndexedRegionServer
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |