[
https://issues.apache.org/jira/browse/ACCUMULO-1000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13676469#comment-13676469
]
Keith Turner commented on ACCUMULO-1000:
----------------------------------------
Maybe something like the following is an option.
{code:java}
public class Column {
public Column(byte[] colf, byte colq[]){}
//setters for optional parts
public Column setColVis(ColVis cv){}
public Column setTimestamp(long ts){}
}
public abstract class Test {
//package private constructor to limit subtypes
Test(){}
}
public class AbsenceTest extends Test {
public AbsenceTest();
}
public class EqualityTest extend Test {
public EqualityTest(byte[] val);
}
public class ConditionalMutation extends Mutation {
public void putCondition(Column col, Test test);
}
{code:java}
> 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