[ 
https://issues.apache.org/jira/browse/GORA-119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13825760#comment-13825760
 ] 

Henry Saputra commented on GORA-119:
------------------------------------

[~enis], should the call in ResultBase.filter return true if filter == null 
instead of false?

  protected boolean filter(K key, T persistent) {
    ...

    Filter<K, T> filter = query.getFilter();
    if (filter == null) {
      return true;
    }
    
    return filter.filter(key, persistent);
  }

> implement a filter enabled scan in gora
> ---------------------------------------
>
>                 Key: GORA-119
>                 URL: https://issues.apache.org/jira/browse/GORA-119
>             Project: Apache Gora
>          Issue Type: Improvement
>    Affects Versions: 0.2
>         Environment: gora hbase gora-core gora-hbase
>            Reporter: raf shin
>              Labels: filter, gora-core, gora-hbase, scan
>             Fix For: 0.4
>
>         Attachments: GORA-119-v1.txt, gora-119_v2.patch
>
>
> it'll be very of help to implement a filtered scan to reduce the time of scan 
> in gora-core and gora-hbase components.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to