Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.20.0
-
None
-
None
-
Reviewed
-
Simplify use of TableIndexed when your secondary keys are guaranteed to be unique. Ability to create an index from the Hbase shell.
-
transactional, tableindexed, shell
Description
I'm using TableIndexed to manage a secondary key that I use for lookups from Thrift. I think this is a potentially common use case.
- Add a UniqueIndexKeyGenerator to use the exact value of the indexed column in the primary table as the row key in the index table.
- Add support for creating indexes to the Hbase shell
I'm attaching the UniqueIndexKeyGenerator patch. I will add a test and also add the changes to the shell soon.