Package org.apache.cassandra.cql3
Class Lists.SetterByIndex
java.lang.Object
org.apache.cassandra.cql3.Operation
org.apache.cassandra.cql3.Lists.SetterByIndex
- Enclosing class:
- Lists
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.cassandra.cql3.Operation
Operation.Addition, Operation.ColumnDeletion, Operation.ElementDeletion, Operation.FieldDeletion, Operation.Prepend, Operation.RawDeletion, Operation.RawUpdate, Operation.SetElement, Operation.SetField, Operation.SetValue, Operation.Substraction -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcollectMarkerSpecification(VariableSpecifications boundNames) Collects the column specification for the bind variables of this operation.voidexecute(DecoratedKey partitionKey, UpdateParameters params) Execute the operation.booleanMethods inherited from class org.apache.cassandra.cql3.Operation
addFunctionsTo
-
Constructor Details
-
SetterByIndex
-
-
Method Details
-
requiresRead
public boolean requiresRead()- Overrides:
requiresReadin classOperation- Returns:
- whether the operation requires a read of the previous value to be executed (only lists setterByIdx, discard and discardByIdx requires that).
-
collectMarkerSpecification
Description copied from class:OperationCollects the column specification for the bind variables of this operation.- Overrides:
collectMarkerSpecificationin classOperation- Parameters:
boundNames- the list of column specification where to collect the bind variables of this term in.
-
execute
public void execute(DecoratedKey partitionKey, UpdateParameters params) throws InvalidRequestException Description copied from class:OperationExecute the operation.- Specified by:
executein classOperation- Parameters:
partitionKey- partition key for the update.params- parameters of the update.- Throws:
InvalidRequestException
-