I would like to store an object (payload) along with some metadata in HBase.
Then I would like to run queries on the table and pull out the payload part based on metadata info.
For example, let's say I have the following column qualifiers
Then I would run a query such as:
Does it make sense to:
Normally, I would do a spike (I may still need to) - I thought I ask first.
I'd try to follow the advice given in HBase Reference and go with option #2 (Keep all 3 col in the same column family):
Try to make do with one column family if you can in your schemas. Only introduce a second and third column family in the case where data access is usually column scoped; i.e. you query one column family or the other but usually not both at the one time.