public class Update extends BuiltStatement
| Modifier and Type | Class and Description | 
|---|---|
| static class  | Update.AssignmentsThe assignments of an UPDATE statement. | 
| static class  | Update.ConditionsConditions for an UPDATE statement. | 
| static class  | Update.IfExists | 
| static class  | Update.OptionsThe options of a UPDATE statement. | 
| static class  | Update.WhereThe 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, toString, usesNamedValuesgetQueryString, hasValues, requestSizeInBytesdisableTracing, enableTracing, getConsistencyLevel, getDefaultTimestamp, getFetchSize, getHost, getLastHost, getNowInSeconds, getOutgoingPayload, getPartitioner, getReadTimeoutMillis, getRetryPolicy, getSerialConsistencyLevel, isBatchIdempotent, isLWT, isTracing, setConsistencyLevel, setDefaultTimestamp, setFetchSize, setHost, setIdempotent, setLastHost, setNowInSeconds, 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–2025. All rights reserved.