Hi there,
I have a table "Table1" with one Family and 10 qualifier.
Any ways that I can get these qualifier's name in Table1,
then I can loop qualifier collection to fetch each qualifier's value.
Thank you
Fleming
====================================================================================
HTable table = new HTable(config, "Table1");
Get g = new Get(Bytes.toBytes("Key1"));
Result r = table.get(g);
byte [] value1 = r.getValue(Bytes.toBytes("Family"),
Bytes.toBytes("qualifier1"));
String valueStr1 = Bytes.toString(value1);
byte [] value2 = r.getValue(Bytes.toBytes("Family"),
Bytes.toBytes("qualifier2"));
String valueStr2 = Bytes.toString(value2);
.
.
.
byte [] value10 = r.getValue(Bytes.toBytes("Family"),
Bytes.toBytes("qualifier10"));
String valueStr10 = Bytes.toString(value10);
---------------------------------------------------------------------------
TSMC PROPERTY
This email communication (and any attachments) is proprietary information
for the sole use of its
intended recipient. Any unauthorized review, use or distribution by anyone
other than the intended
recipient is strictly prohibited. If you are not the intended recipient,
please notify the sender by
replying to this email, and then delete this email and any copies of it
immediately. Thank you.
---------------------------------------------------------------------------