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

Keith Turner updated ACCUMULO-1701:
-----------------------------------

    Fix Version/s:     (was: 1.6.0)

> Create base class / interface for Condition
> -------------------------------------------
>
>                 Key: ACCUMULO-1701
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1701
>             Project: Accumulo
>          Issue Type: Sub-task
>          Components: client
>            Reporter: Christopher Tubbs
>
> Condition has too much bloat in its API, making it inconvenient to extend it.
> Imagine the case where I want to create a AgeColumnEqualsFiveCondition. Now, 
> I'm going to bake in an iterator to this condition that filters everything 
> but the age column, and sets the match condition to something like: 
> PersonnelData:Age=5 (CF:CV=V).
> I don't need any of the setters to configure such an iterator, because it has 
> already been pre-defined for easy use.
> I propose a change that turns Condition into an interface or an abstract base 
> class, with the minimal getters required to serialize the condition and check 
> that it is satisfied.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to