public class Update extends BuiltStatement
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
Update.Assignments
The assignments of an UPDATE statement. 
 | 
static class  | 
Update.Conditions
Conditions for an UPDATE statement. 
 | 
static class  | 
Update.IfExists  | 
static class  | 
Update.Options
The options of a UPDATE statement. 
 | 
static class  | 
Update.Where
The WHERE clause of an UPDATE statement. 
 | 
idempotent, NULL_PAYLOAD_VALUE| Modifier and Type | Method and Description | 
|---|---|
Update.Conditions | 
onlyIf()
Adds a conditions clause (IF) to this statement. 
 | 
Update.Conditions | 
onlyIf(Clause condition)
Adds a conditions clause (IF) to this statement. 
 | 
Update.Options | 
using(Using using)
Adds a new options for this UPDATE statement. 
 | 
Update.Where | 
where()
Returns a Where statement for this query without adding clause. 
 | 
Update.Where | 
where(Clause clause)
Adds a WHERE clause to this statement. 
 | 
Update.Assignments | 
with()
Returns the assignments of this UPDATE statement. 
 | 
Update.Assignments | 
with(Assignment assignment)
Adds an assignment to this UPDATE statement. 
 | 
escapeId, getKeyspace, getNamedValues, getObject, getObject, getQueryString, getRoutingKey, getValues, hasValues, isIdempotent, setForceNoValues, setKeyspace, toString, usesNamedValuesgetQueryString, getRoutingToken, hasValues, requestSizeInBytes, setRoutingTokendisableTracing, enableTracing, executingAs, getConsistencyLevel, getDefaultTimestamp, getFetchSize, getHost, getOutgoingPayload, getReadTimeoutMillis, getRetryPolicy, getSerialConsistencyLevel, isBatchIdempotent, isTracing, setConsistencyLevel, setDefaultTimestamp, setFetchSize, setHost, setIdempotent, setOutgoingPayload, setPagingState, setPagingState, setPagingStateUnsafe, setReadTimeoutMillis, setRetryPolicy, setSerialConsistencyLevelpublic Update.Assignments with(Assignment assignment)
This is a shorter/more readable version for with().and(assignment).
assignment - the assignment to add.public Update.Assignments with()
public Update.Where where(Clause clause)
This is a shorter/more readable version for where().and(clause).
clause - the clause to add.public Update.Where where()
public Update.Conditions onlyIf(Clause condition)
This is a shorter/more readable version for onlyIf().and(condition).
 
This will configure the statement as non-idempotent, see Statement.isIdempotent() for more information.
condition - the condition to add.public Update.Conditions onlyIf()
public Update.Options using(Using using)
using - the option to add.Copyright © 2012–2018. All rights reserved.