You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by ChongQing Xiao <Cq...@epic.com> on 2011/10/22 00:29:43 UTC

How to create filter in scanner for http REST api

Hi,

I am trying to create a filter for my scanner like this

http://localhost/table/scanner

the request body looks like
<Scanner batch="1">
<filter type="KeyOnlyFilter" />     => can't get this working.
</scanner>

But I can't get the filter work.
Could someone explain what is the syntax for the filter element inside <Scanner>?

Thanks
Chong