You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/06/16 16:42:00 UTC

[jira] [Closed] (HBASE-8098) ParseFilter acts like a factory but doesn't look like it

     [ https://issues.apache.org/jira/browse/HBASE-8098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Kyle Purtell closed HBASE-8098.
--------------------------------------

> 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 was sent by Atlassian Jira
(v8.20.7#820007)