Package org.apache.cassandra.cql3
Class Operation.SetValue
java.lang.Object
org.apache.cassandra.cql3.Operation.SetValue
- All Implemented Interfaces:
Operation.RawUpdate
- Enclosing class:
- Operation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprepare(TableMetadata metadata, ColumnMetadata receiver, boolean canReadExistingState) This method validates the operation (i.e.protected StringtoString(ColumnSpecification column)
-
Constructor Details
-
SetValue
-
-
Method Details
-
prepare
public Operation prepare(TableMetadata metadata, ColumnMetadata receiver, boolean canReadExistingState) throws InvalidRequestException Description copied from interface:Operation.RawUpdateThis method validates the operation (i.e. validate it is well typed) based on the specification of the receiver of the operation. It returns an Operation which can be though as post-preparation well-typed Operation.- Specified by:
preparein interfaceOperation.RawUpdatereceiver- the column this operation applies to.canReadExistingState- whether the update depends on existing state- Returns:
- the prepared update operation.
- Throws:
InvalidRequestException
-
toString
-
isCompatibleWith
- Specified by:
isCompatibleWithin interfaceOperation.RawUpdate- Returns:
- whether this operation can be applied alongside the
otherupdate (in the same UPDATE statement for the same column).
-