Use BinaryComparator in ValueFilter's constructor and provide the
value you're looking for as a byte[].

J-D

On Fri, Feb 24, 2012 at 1:59 PM, Bing Li <[email protected]> wrote:
> Dear all,
>
> HBase has the feature to treat columns as counters. So I attempted to
> retrieve data based on the value of counters. Usually, the counters are the
> long type.
>
> But the filters' constructors, such as ValueFilter, in HBase does not have
> the parameter of long type. If so, may I still retrieve by ValueFilter and
> counters?
>
> Thanks so much!
>
> Best regards,
> Bing

Reply via email to