-
Notifications
You must be signed in to change notification settings - Fork 163
Closed
Milestone
Description
I noticed that in the document:
scan(row_start=None, row_stop=None, row_prefix=None, columns=None, filter=None, timestamp=None, include_timestamp=False, batch_size=1000, limit=None)
The filter argument may be a filter string that will be applied at the server by the region servers.
Does the filter here mean column filters? what does "filter string" mean? in hbase shell, you use filter like this:
scan 'table', { COLUMNS => 'family:qualifier', FILTER =>
SingleColumnValueFilter.new
(Bytes.toBytes('family'),
Bytes.toBytes('qualifier'),
CompareFilter::CompareOp.valueOf('EQUAL'),
SubstringComparator.new('somevalue'))
}
How does it work using happybase ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels