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

Ted Yu commented on HBASE-15410:
--------------------------------

It seems the following two fields of FilterListBase:
{code}
  protected final Set<Filter> filters;
  /**
   * For each sub-filter in filter list, we save a boolean flag to indicate 
that whether the return
   * code of filterCell(c) for sub-filter is INCLUDE* (INCLUDE, 
INCLUDE_AND_NEXT_COL,
   * INCLUDE_AND_SEEK_NEXT_ROW) case. if true, we need to transform cell for 
the sub-filter.
   */
  protected ArrayList<Boolean> subFiltersIncludedCell;
{code}
can be combined into one field with type: Map<Filter, Boolean>

> Utilize the max seek value when all Filters in MUST_PASS_ALL FilterList 
> return SEEK_NEXT_USING_HINT
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-15410
>                 URL: https://issues.apache.org/jira/browse/HBASE-15410
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Major
>              Labels: filter, perfomance
>             Fix For: 2.0.0-alpha-4, HBASE-18410, 2.0.0
>
>         Attachments: 15410-wip.patch, 15410.branch-1.patch, 15410.v1.patch, 
> 15410.v2.patch, 15410.v3.patch, 15410.v4.patch, HBASE-15410.addendum.v1.patch
>
>
> As Preston mentioned in the comment in HBASE-15243:
> https://issues.apache.org/jira/browse/HBASE-15243?focusedCommentId=15143557&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15143557
> An optimization for filters returning a SEEK_NEXT_USING_HINT would be to seek 
> to the highest hint (Any previous/lower row won't be accepted by the filter 
> returning that seek).
> This JIRA is to explore this potential optimization.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to