Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.
zhang_xzhi edited this page Mar 12, 2014 · 24 revisions

simplehbaseviewer是基于simplehbase的web操作界面.

目前提供以下功能:

 tables:
 查看htable信息.
 查看htable数据列的配置信息。
 查看该表上的rowkey函数。
 查看该表上的字面常量解释器。
 
 query console:
 可以对htable进行数据put,scan, delete操作。
 
 example:
 样例。
 比如


  
 insert into billCategory  ( userId ) values ( "2088123456781234" ) rowkey is billCategoryRowKey ("2088123456781234_20140401") 
 
 insert into MyRecordV05 ( name,age ) values ( "allen", "30" ) rowkey is intkey ("0")   
 
 insert into MyRecordV05 ( fatname,age ) values ( "allenfat", "30" ) rowkey is intkey ("0") 
 
 insert into MyRecordV05 ( name ) values ( null ) rowkey is intkey ("0")
 
 
 
 select * from  billCategory   startkey is billCategoryRowKey ("2088123456781234_20140401") 
 
 select * from MyRecordV05 startkey is intkey ("0") , endkey is intkey ("100") maxversion 10 startTS is "2014-01-01" , endTS is "2100-01-01" limit 10 , 20
 
 select * from MyRecordV05 startkey is intkey ("0")  startTS is "2014-01-01" limit 10 , 20
 
 select * from MyRecordV05 startkey is intkey ("0")
 
 select * from MyRecordV05 rowkey is intkey ("0")   
 
 
 delete * from MyRecordV05 startkey is intkey ("0")