org.apache.cassandra.cql3
Interface Operation.RawDeletion

All Known Implementing Classes:
Operation.ColumnDeletion, Operation.ElementDeletion
Enclosing class:
Operation

public static interface Operation.RawDeletion

A parsed raw DELETE operation. This can be one of: - Deleting a column - Deleting an element of a collection


Method Summary
 ColumnIdentifier affectedColumn()
          The name of the column affected by this delete operation.
 Operation prepare(ColumnSpecification receiver)
          This method validates the operation (i.e.
 

Method Detail

affectedColumn

ColumnIdentifier affectedColumn()
The name of the column affected by this delete operation.


prepare

Operation prepare(ColumnSpecification receiver)
                  throws InvalidRequestException
This 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.

Parameters:
receiver - the "column" this operation applies to.
Returns:
the prepared delete operation.
Throws:
InvalidRequestException


Copyright © 2013 The Apache Software Foundation