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.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, getQueryString, getRoutingKey, getValues, hasValues, isIdempotent, setForceNoValues, toStringdisableTracing, enableTracing, getConsistencyLevel, getDefaultTimestamp, getFetchSize, getRetryPolicy, getSerialConsistencyLevel, isTracing, setConsistencyLevel, setDefaultTimestamp, setFetchSize, setIdempotent, setOutgoingPayload, setPagingState, setPagingStateUnsafe, setRetryPolicy, setSerialConsistencyLevelpublic Update.Assignments with(Assignment assignment)
with().and(assignment).assignment - the assignment to add.public Update.Assignments with()
public Update.Where where(Clause clause)
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).
condition - the condition to add.public Update.Conditions onlyIf()
public Update.Options using(Using using)
using - the option to add.Copyright © 2012–2015. All rights reserved.