Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> Thrift api and binary keys

Copy link to this message
Thrift api and binary keys
I have used Hbase before, but many months back. So this is basic
beginner's questions.
The HBase thrift api for get getRow is

list<TCell> get(
/** name of table */
1:Text tableName,

/** row key */
2:Text row,

/** column name */
3:Text column
) throws (1:IOError io)

If my rows keys are binary data (the row keys and cell values will all
be binary),  can I still use this API?
Is Text much like C++'s string(which can be used to hold binary data)?

Thank you