Package org.apache.cassandra.cql3
Class Lists.Discarder
java.lang.Object
org.apache.cassandra.cql3.Operation
org.apache.cassandra.cql3.Lists.Discarder
- 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 TypeMethodDescriptionvoidexecute(DecoratedKey partitionKey, UpdateParameters params) Execute the operation.booleanMethods inherited from class org.apache.cassandra.cql3.Operation
addFunctionsTo, collectMarkerSpecification
-
Constructor Details
-
Discarder
-
-
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).
-
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
-