作者:Samuel小嘎嘎 | 来源:互联网 | 2023-10-09 21:58
Hbase常用shell命令 https:www.cnblogs.comi80386p4105423.html HBase基础之常用过滤器hbaseshell操作 https:w
Hbase 常用shell命令 https://www.cnblogs.com/i80386/p/4105423.html
HBase基础之常用过滤器hbase shell操作 https://www.cnblogs.com/luogankun/p/3939712.html
Row key filter:
hbase(main):003:0> import org.apache.hadoop.hbase.filter.CompareFilter
hbase(main):005:0> import org.apache.hadoop.hbase.filter.SubstringComparator
hbase(main):006:0> scan 'test', {FILTER => org.apache.hadoop.hbase.filter.RowFilter.new(CompareFilter::CompareOp.valueOf('EQUAL'),SubstringComparator.new("word_by_which_you_want_to_search"))}