|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.client.HTable
org.apache.hadoop.hbase.client.transactional.TransactionalTable
org.apache.hadoop.hbase.client.tableindexed.IndexedTable
public class IndexedTable
HTable extended with indexed support.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.client.transactional.TransactionalTable |
---|
TransactionalTable.TransactionalClientScanner |
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.client.HTable |
---|
HTable.ClientScanner |
Field Summary | |
---|---|
static byte[] |
INDEX_BASE_ROW_COLUMN
|
static byte[] |
INDEX_COL_FAMILY
|
static byte[] |
INDEX_COL_FAMILY_NAME
|
Fields inherited from class org.apache.hadoop.hbase.client.HTable |
---|
scannerCaching, scannerTimeout |
Constructor Summary | |
---|---|
IndexedTable(HBaseConfiguration conf,
byte[] tableName)
|
Method Summary | |
---|---|
Scanner |
getIndexedScanner(String indexId,
byte[] indexStartRow,
byte[][] indexColumns,
RowFilterInterface indexFilter,
byte[][] baseColumns)
Open up an indexed scanner. |
Methods inherited from class org.apache.hadoop.hbase.client.transactional.TransactionalTable |
---|
commit, deleteAll, get, get, get, getRow, getRow, getRow, getRow, getScanner, getScanner, getScanner, getScanner, getScanner |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final byte[] INDEX_COL_FAMILY_NAME
public static final byte[] INDEX_COL_FAMILY
public static final byte[] INDEX_BASE_ROW_COLUMN
Constructor Detail |
---|
public IndexedTable(HBaseConfiguration conf, byte[] tableName) throws IOException
IOException
Method Detail |
---|
public Scanner getIndexedScanner(String indexId, byte[] indexStartRow, byte[][] indexColumns, RowFilterInterface indexFilter, byte[][] baseColumns) throws IOException, IndexNotFoundException
indexId
- the id of the index to useindexStartRow
- (created from the IndexKeyGenerator)indexColumns
- in the index tableindexFilter
- filter to run on the index'ed table. This can only use
columns that have been added to the index.baseColumns
- from the original table
IOException
IndexNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |