You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@phoenix.apache.org by "yinxl@shencai.cc" <yi...@shencai.cc> on 2014/07/16 08:46:04 UTC

How to use Hbase API queries?






hi,�I insert some rows into table via phoenix 4.0 client .
>create table student (id integer primary key , name varchar) ;>upsert into student (id,name) values(1,'tony');>upsert into student (id,name) values(2,'tom');


> hbase shell> scan 'student'ROW� ��� ��� ��� ��� ���� ��� ��COLUMN+CELL� \x80\x00\x00\x01�� ���column=0:NAME, timestamp=1405475073111, value=tony \x80\x00\x00\x01�� ���column=0:_0, timestamp=1405475073111, value=� \x80\x00\x00\x02�� ���column=0:NAME, timestamp=1405475078206, value=tom
How to convert rowkey?�Then �i �can �get rows via Hbase �java API.








yinxl@shencai.cc