accumulo-notifications mailing list archives

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


Keith Turner updated ACCUMULO-1701:

    Fix Version/s:     (was: 1.6.0)

> Create base class / interface for Condition
> -------------------------------------------
>                 Key: ACCUMULO-1701
>                 URL:
>             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

View raw message