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

Ted Yu commented on HBASE-7894:
-------------------------------

>From FilterBase:
{code}
  /**
   * Filters that are purely stateless and do nothing in their reset() methods 
can inherit
   * this null/empty implementation.
   *
   * @inheritDoc
   */
  @Override
  public void reset() {
  }
{code}
I think we can add javadoc for FilterBase stating that stateful Filter's should 
implement reset() themselves.
                
> Update Filter javadoc about the use of read/write fields for multiple regions
> -----------------------------------------------------------------------------
>
>                 Key: HBASE-7894
>                 URL: https://issues.apache.org/jira/browse/HBASE-7894
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Bryan Baugher
>            Priority: Minor
>
> Following this[1] on the mailing list, it is not obvious how hbase will use a 
> filter's read/write fields when there are multiple regions. Javadoc should be 
> added explaining that for scans spanning multiple regions hbase will 
> re-create the filter using the previous filter's writeFields instead of the 
> original scan.
> [1] - 
> http://mail-archives.apache.org/mod_mbox/hbase-user/201302.mbox/%3CCANZ-JHE-8FATa69ucHQmmZAUEkN1dKshiRKLJyb_bFf%3D6ZNm2A%40mail.gmail.com%3E

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to