Hello,

I have some issues when I try to use filters in the shell.
When I use only one filter everything is okay:

scan 'rawdb', { COLUMNS => 'raw:a', FILTER => \
SingleColumnValueFilter.new(Bytes.toBytes('raw'), Bytes.toBytes('a'), \
CompareFilter::CompareOp.valueOf('EQUAL'), SubstringComparator.new('154442')), \
LIMIT => 3 }

But when I try to combine two filters like that: 

scan 'rawdb', { COLUMNS => 'raw:a', FILTER =>
"(SingleColumnValueFilter.new(Bytes.toBytes('raw'), Bytes.toBytes('a'), \
CompareFilter::CompareOp.valueOf('EQUAL'), SubstringComparator.new('154442')) \
AND (SingleColumnValueFilter.new(Bytes.toBytes('raw'), Bytes.toBytes('u'), \
CompareFilter::CompareOp.valueOf('EQUAL'), 
SubstringComparator.new('blafasel')))", \
LIMIT => 3 }

I get the following error: 
java.lang.IllegalArgumentException: Filter Name SingleColumnValueFilter.new not 
supported

Can somebody tell me what I am doing wrong here?

Best regards,
Arvid

-- 
ThreePiO was right: Let the Wookiee win. 

Attachment: pgpJInmhyWK7p.pgp
Description: PGP signature

Reply via email to