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(java.lang.String keyspace,
ColumnDefinition receiver)
This method validates the operation (i.e.
|
protected java.lang.String |
toString(ColumnSpecification column) |
public Operation prepare(java.lang.String keyspace, ColumnDefinition receiver) throws InvalidRequestException
Operation.RawUpdate
prepare
in interface Operation.RawUpdate
receiver
- the "column" this operation applies to. Note that
contrarly to the method of same name in Term.Raw, the receiver should always
be a true column.InvalidRequestException
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 © 2016 The Apache Software Foundation