You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/05/24 22:39:02 UTC
[jira] [Updated] (HBASE-11210) Consider restoring Filter class back
to an interface
[ https://issues.apache.org/jira/browse/HBASE-11210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu updated HBASE-11210:
---------------------------
Description:
In 0.94, Filter class is an interface.
>From Filter.java in 0.96 :
{code}
* Interface for row and column filters directly applied within the regionserver.
...
* When implementing your own filters, consider inheriting {@link FilterBase} to help
* you reduce boilerplate.
{code}
We should consider restoring Filter class back to an interface.
Lars first brought up this notion:
https://issues.apache.org/jira/browse/HBASE-6657?focusedCommentId=13456317&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13456317
This gives users / developers clear suggestion that custom filters should override FilterBase instead of implementing Filter directly.
Thanks to Anoop who acknowledged this idea during offline discussion.
was:
In 0.94, Filter class is an interface.
>From Filter.java in 0.96 :
{code}
* Interface for row and column filters directly applied within the regionserver.
...
* When implementing your own filters, consider inheriting {@link FilterBase} to help
* you reduce boilerplate.
{code}
We should consider restoring Filter class back to an interface.
This gives users / developers clear suggestion that custom filters should override FilterBase instead of implementing Filter directly.
Thanks to Anoop who acknowledged this idea during offline discussion.
> Consider restoring Filter class back to an interface
> ----------------------------------------------------
>
> Key: HBASE-11210
> URL: https://issues.apache.org/jira/browse/HBASE-11210
> Project: HBase
> Issue Type: Task
> Reporter: Ted Yu
>
> In 0.94, Filter class is an interface.
> From Filter.java in 0.96 :
> {code}
> * Interface for row and column filters directly applied within the regionserver.
> ...
> * When implementing your own filters, consider inheriting {@link FilterBase} to help
> * you reduce boilerplate.
> {code}
> We should consider restoring Filter class back to an interface.
> Lars first brought up this notion:
> https://issues.apache.org/jira/browse/HBASE-6657?focusedCommentId=13456317&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13456317
> This gives users / developers clear suggestion that custom filters should override FilterBase instead of implementing Filter directly.
> Thanks to Anoop who acknowledged this idea during offline discussion.
--
This message was sent by Atlassian JIRA
(v6.2#6252)