public abstract class Operation
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | Operation.Addition | 
| static class  | Operation.ColumnDeletion | 
| static class  | Operation.ElementAddition | 
| static class  | Operation.ElementDeletion | 
| static class  | Operation.ElementSubtraction | 
| static class  | Operation.FieldDeletion | 
| static class  | Operation.Prepend | 
| static interface  | Operation.RawDeletionA parsed raw DELETE operation. | 
| static interface  | Operation.RawUpdateA parsed raw UPDATE operation. | 
| static class  | Operation.SetElement | 
| static class  | Operation.SetField | 
| static class  | Operation.SetValue | 
| static class  | Operation.Substraction | 
| Modifier and Type | Field and Description | 
|---|---|
| ColumnDefinition | column | 
| protected Term | t | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | Operation(ColumnDefinition column,
         Term t) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addFunctionsTo(java.util.List<Function> functions) | 
| void | collectMarkerSpecification(VariableSpecifications boundNames)Collects the column specification for the bind variables of this operation. | 
| abstract void | execute(DecoratedKey partitionKey,
       UpdateParameters params)Execute the operation. | 
| boolean | requiresRead() | 
public final ColumnDefinition column
protected final Term t
protected Operation(ColumnDefinition column, Term t)
public void addFunctionsTo(java.util.List<Function> functions)
public boolean requiresRead()
public void collectMarkerSpecification(VariableSpecifications boundNames)
boundNames - the list of column specification where to collect the
 bind variables of this term in.public abstract void execute(DecoratedKey partitionKey, UpdateParameters params) throws InvalidRequestException
partitionKey - partition key for the update.params - parameters of the update.InvalidRequestExceptionCopyright © 2018 The Apache Software Foundation