Operation.Addition, Operation.ColumnDeletion, Operation.ElementDeletion, Operation.Prepend, Operation.RawDeletion, Operation.RawUpdate, Operation.SetElement, Operation.SetValue, Operation.Substraction
columnName, t
Constructor and Description |
---|
Maps.SetterByKey(ColumnIdentifier column,
Term k,
Term t) |
Modifier and Type | Method and Description |
---|---|
void |
collectMarkerSpecification(ColumnSpecification[] 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.
|
requiresRead
public Maps.SetterByKey(ColumnIdentifier column, Term k, Term t)
public void collectMarkerSpecification(ColumnSpecification[] boundNames)
Operation
collectMarkerSpecification
in class Operation
boundNames
- 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
Operation
execute
in class Operation
rowKey
- 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.InvalidRequestException
Copyright © 2013 The Apache Software Foundation