You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Nick Dimiduk (JIRA)" <ji...@apache.org> on 2013/03/14 01:16:13 UTC
[jira] [Created] (HBASE-8098) ParseFilter acts like a factory but
doesn't look like it
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