Package org.apache.cassandra.cql3
Class Operation.FieldDeletion
java.lang.Object
org.apache.cassandra.cql3.Operation.FieldDeletion
- All Implemented Interfaces:
Operation.RawDeletion
- Enclosing class:
- Operation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe name of the column affected by this delete operation.prepare(String keyspace, ColumnMetadata receiver, TableMetadata metadata) This method validates the operation (i.e.
-
Constructor Details
-
FieldDeletion
-
-
Method Details
-
affectedColumn
Description copied from interface:Operation.RawDeletionThe name of the column affected by this delete operation.- Specified by:
affectedColumnin interfaceOperation.RawDeletion
-
prepare
public Operation prepare(String keyspace, ColumnMetadata receiver, TableMetadata metadata) throws InvalidRequestException Description copied from interface:Operation.RawDeletionThis method validates the operation (i.e. validate it is well typed) based on the specification of the column affected by the operation (i.e the one returned by affectedColumn()). It returns an Operation which can be though as post-preparation well-typed Operation.- Specified by:
preparein interfaceOperation.RawDeletionreceiver- the "column" this operation applies to.- Returns:
- the prepared delete operation.
- Throws:
InvalidRequestException
-