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