[ https://issues.apache.org/jira/browse/ACCUMULO-1000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13676492#comment-13676492 ]
Keith Turner commented on ACCUMULO-1000: ---------------------------------------- bq. I think we could hammer in this functionality by using an iterator that checks the precondition and returns a boolean- have you thought about how to add in that to ConditionalMutation? My only thoughts about iterators so far is that the check will be done on the server side by reading the data through the iterator stack configured for the table. I suppose the ConditionalWriter could be configured to use iterators just like the scanner can. This made me think that ConditionalWriter could extend ScannerBase, took a look at the API most of the methods make sense except for iterator(). > 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