Operation.Addition, Operation.ColumnDeletion, Operation.ElementDeletion, Operation.Prepend, Operation.RawDeletion, Operation.RawUpdate, Operation.SetElement, Operation.SetValue, Operation.SubstractioncolumnName, t| Constructor and Description |
|---|
Lists.SetterByIndex(ColumnIdentifier column,
Term idx,
Term t) |
| Modifier and Type | Method and Description |
|---|---|
void |
collectMarkerSpecification(VariableSpecifications boundNames)
Collects the column specification for the bind variables of this operation.
|
void |
execute(java.nio.ByteBuffer rowKey,
ColumnFamily cf,
ColumnNameBuilder prefix,
UpdateParameters params)
Execute the operation.
|
boolean |
requiresRead() |
isStatic, maybeUpdatePrefixpublic Lists.SetterByIndex(ColumnIdentifier column, Term idx, Term t)
public boolean requiresRead()
requiresRead in class Operationpublic void collectMarkerSpecification(VariableSpecifications boundNames)
OperationcollectMarkerSpecification in class OperationboundNames - the list of column specification where to collect the
bind variables of this term in.public void execute(java.nio.ByteBuffer rowKey,
ColumnFamily cf,
ColumnNameBuilder prefix,
UpdateParameters params)
throws InvalidRequestException
Operationexecute in class OperationrowKey - row key for the update.cf - the column family to which to add the updates generated by this operation.prefix - the prefix that identify the CQL3 row this operation applies to (callers should not reuse
the ColumnNameBuilder they pass here).params - parameters of the update.InvalidRequestExceptionCopyright © 2015 The Apache Software Foundation