[HBase] Use SingleColumnFilter in shell.

scan 'TABLENAME', {FILTER=>"(SingleColumnValueFilter('CF', ‘CQ', =, 'binary:VALUE', true, true))”}

the first true means filterIfColumnMissing
the second true means setLatestVersionOnly

Ref. Spinning Thoughts: Applying Filters in HBase shell

This entry was posted in HBase. Bookmark the permalink.

2 Responses to [HBase] Use SingleColumnFilter in shell.

Comments are closed.