rowfilter - HBase multiple Row filter range greater and less than possible? -


i'm exploring hbase , trying scan range of rows in range. example, if keys integers (less 10 example), in trying this:

hbase(main):030:0> scan 'testtable', {filter => "rowfilter(<, 'binary:8)", filter => "rowfilter(>, 'binary:2')"} 

yet results in following, seems not able combine "range" of rows? possible?

row column+cell 3 column=colfam1:q1, timestamp=1434692947170, value=33 3 column=colfam1:q2, timestamp=1434692969969, value=33 4 column=colfam1:q1, timestamp=1434692532607, value=4 8 column=colfam1:q1, timestamp=1434692527505, value=4 9 column=colfam1:q1, timestamp=1434692519223, value=9

doh, needs "and"..so should : scan 'testtable', {filter => "rowfilter(<, 'binary:8') , (rowfilter(>, 'binary:2')"} –


Comments

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -