accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Billie Rinaldi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1000) support compare and set
Date Mon, 10 Jun 2013 16:27:21 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-1000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13679604#comment-13679604
] 

Billie Rinaldi commented on ACCUMULO-1000:
------------------------------------------

I like addCondition(Condition).  To use a less than condition, for example, the approach would
be to have an iterator that drops values if they are greater than a particular value, then
to use an existence condition to determine if the mutation is applied?  The iterator is almost
a simple filter, except that you'd want to transform all the accepted values into the same
thing (probably an empty value) so that they could pass the same equality condition.  If this
is what we'd be recommending to people, I think we should make sure it is relatively easy
to do.  I could help out with that, if you'd like.  (IMO requiring the user to implement a
filter to do less than/greater than would be okay, but not an entire iterator.  We could add
an option to Filter that would empty out any accepted values.)
                
> support compare and set
> -----------------------
>
>                 Key: ACCUMULO-1000
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1000
>             Project: Accumulo
>          Issue Type: New Feature
>          Components: client, tserver
>            Reporter: Keith Turner
>            Assignee: Keith Turner
>             Fix For: 1.6.0
>
>         Attachments: ACCUMULO-1000-proposal-01.html, ACCUMULO-1000-proposal-01.txt
>
>
> Add support to mutation for compare and set operations.  This would allow user to specify
that a row must contain certain data for a mutation to be applied.

--
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: http://www.atlassian.com/software/jira

Mime
View raw message