accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Turner (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ACCUMULO-1701) Create base class / interface for Condition
Date Thu, 31 Oct 2013 17:49:20 GMT

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

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

    Issue Type: Improvement  (was: Sub-task)
        Parent:     (was: ACCUMULO-1000)

> Create base class / interface for Condition
> -------------------------------------------
>
>                 Key: ACCUMULO-1701
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1701
>             Project: Accumulo
>          Issue Type: Improvement
>          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)

Mime
View raw message