hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Dimiduk (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-8098) ParseFilter acts like a factory but doesn't look like it
Date Thu, 14 Mar 2013 00:16:13 GMT
Nick Dimiduk created HBASE-8098:
-----------------------------------

             Summary: ParseFilter acts like a factory but doesn't look like it
                 Key: HBASE-8098
                 URL: https://issues.apache.org/jira/browse/HBASE-8098
             Project: HBase
          Issue Type: Improvement
          Components: Filters, Usability
            Reporter: Nick Dimiduk
            Priority: Minor


The ParseFilter API is a little confused. It exposes two factory methods for creating filters
based on the language, and a couple other methods for inspecting supported filters and registering
support for new filters. It maintains no internal state. These methods should all be static
methods, and everything not these methods should be marked private static. That way, you call
one of two methods to have a Filter constructed for you, both of which are static so you don't
have to create an instance of the factory.

--
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

Mime
View raw message