[
https://issues.apache.org/jira/browse/HBASE-3459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12984501#action_12984501
]
ncanis commented on HBASE-3459:
-------------------------------
we will behave the same way by using ValueFilter and PageFilter
{code}
FilterList list = new FilterList();
ValueFilter valueFilter = new ValueFilter(CompareOp.EQUAL, new
BinaryComparator(value));
PageFilter rowFilter = new PageFilter(1);
list.addFilter(valueFilter);
list.addFilter(rowFilter);
{code}
> How about EqualsColumnValueGetFilter
> ------------------------------------
>
> Key: HBASE-3459
> URL: https://issues.apache.org/jira/browse/HBASE-3459
> Project: HBase
> Issue Type: Improvement
> Affects Versions: 0.90.0
> Reporter: ncanis
> Fix For: 0.90.1
>
> Attachments: EqualsColumnValueGetFilter.java
>
>
> usually, we need to find column's value is existing.
> in db) select count(*) from user where id='ncanis'
> if we use EqualsColumnValueGetFilter filter
> we can find out column value is existing.
> {code}
> ----------------------
> public EqualsColumnValueGetFilter(final byte[] colName, final byte[]
> value, final int limit) {
> this.colName = colName;
> this.value = value;
> this.limit = limit;
> }
> ------------------------
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.