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

Keith Turner commented on ACCUMULO-1000:
----------------------------------------

bq. What about ifExists(cf, cq, cv, val) and ifAbsent(cf, cq, cv)

I kinda like this, however to me it does not connotate that you are adding to a 
list of conditions/tests/checks that must be satisfied before a mutation is 
applied.  I am too excited about any of the names that have been proposed.  The 
thing I like most about ifExists() and ifAbsent() is they are short.

bq. This means that my pre-commit check is an equality operation, which may not 
be enough.

thats one thing I was thinking when I proposed putEqualityTest().. that maybe 
other test would be wanted in the future like putLessThanTest() or 
putGreaterThanTest()... not something I want do now.
                
> 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

Reply via email to