java - Does hbase support double rows id filtering? -
suppose have designed hbase row id in following format (-
used delimiters, _
instead of spaces):
timestamp-event_type-user_id
so want select event sequences user. example, need select event typs go in following sequence: 4,8,1,10. obvious should create rowfilter combined regexstringcomparator. in case select group of rows, needs extract them , order timestamp determine event sequence. there approach in hbase apply row filter twice? e.g. first select row , second perform selection in selected group?
note
it may seems not correct use of hbase, main idea row key stored in hbase cache, double filtering on row keys should extremely fast. hbase provides similar?
have looked @ filterlist.
it take multiple filters , join them conditions. eg: must_pass_all
(and) or must_pass_one
(or).
hope helps.
Comments
Post a Comment