accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <>
Subject [jira] [Created] (ACCUMULO-1701) Create base class / interface for Condition
Date Mon, 09 Sep 2013 19:20:56 GMT
Christopher Tubbs created ACCUMULO-1701:

             Summary: Create base class / interface for Condition
                 Key: ACCUMULO-1701
             Project: Accumulo
          Issue Type: Sub-task
          Components: client
            Reporter: Christopher Tubbs
             Fix For: 1.6.0

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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message