public static class Operation.SetElement extends java.lang.Object implements Operation.RawUpdate
Constructor and Description |
---|
SetElement(Term.Raw selector,
Term.Raw value) |
Modifier and Type | Method and Description |
---|---|
boolean |
isCompatibleWith(Operation.RawUpdate other) |
Operation |
prepare(TableMetadata metadata,
ColumnMetadata receiver,
boolean canReadExistingState)
This method validates the operation (i.e.
|
protected java.lang.String |
toString(ColumnSpecification column) |
public Operation prepare(TableMetadata metadata, ColumnMetadata receiver, boolean canReadExistingState) throws InvalidRequestException
Operation.RawUpdate
prepare
in interface Operation.RawUpdate
receiver
- the column this operation applies to.canReadExistingState
- whether the update depends on existing stateInvalidRequestException
protected java.lang.String toString(ColumnSpecification column)
public boolean isCompatibleWith(Operation.RawUpdate other)
isCompatibleWith
in interface Operation.RawUpdate
other
update (in the same UPDATE statement for the same column).Copyright © 2009- The Apache Software Foundation