Could anyone please tell me how to do a qualifier filter or ValueFilter from the hbase shell command line?
相关问题
- Joining two ResultSets from HBase in Java?
- Save CSV file to hbase table using Spark and Phoen
- hbase as database in web application
- thrift hbase client - support filters and coproces
- How to get the region in HBASE which is struck in
相关文章
- hbase-client 2.0.x error
- use protobuf3 with some lib which depends on proto
- Latest compatible version of hadoop and hbase
- Create table in hbase
- Connecting to remote HBase service using Java
- Connecting and Persisting to HBase
- How to configure hbase in spark?
- In Hadoop, where can i change default url ports 50
It is very similar to how you would code in any programming language, for instance :-
You obviously have to change parameters depending on the fiter you use.
You can instantiate any filter the same way you would do in Java (with JRuby syntax), and supply the filter as:
However, instantiating the filter in the shell directly can be cumbersome, so an easier way is to supply filter as a string using Filter Language. For example, to include all the columns with value equal to 'myvalue' in a scan you would use:
You can check this document as a 'Filter Language' reference.
Additionally, to scan a specific column for a substring you can do: