public interface UpdateStart extends OngoingAssignment
Modifier and Type | Method and Description |
---|---|
UpdateStart |
usingTimestamp(BindMarker bindMarker)
Adds a USING TIMESTAMP clause to this statement with a bind marker.
|
UpdateStart |
usingTimestamp(long timestamp)
Adds a USING TIMESTAMP clause to this statement with a literal value.
|
UpdateStart |
usingTtl(BindMarker bindMarker)
Adds a
USING TTL clause to this statement with a bind marker. |
UpdateStart |
usingTtl(int ttlInSeconds)
Adds a
USING TTL clause to this statement with a literal value. |
append, append, appendListElement, appendListElement, appendMapEntry, appendMapEntry, appendSetElement, appendSetElement, decrement, decrement, decrement, decrement, increment, increment, increment, increment, prepend, prepend, prependListElement, prependListElement, prependMapEntry, prependMapEntry, prependSetElement, prependSetElement, remove, remove, removeListElement, removeListElement, removeMapEntry, removeMapEntry, removeSetElement, removeSetElement, set, set, set, setColumn, setColumn, setField, setField, setMapValue, setMapValue
@NonNull UpdateStart usingTimestamp(long timestamp)
If this method or usingTimestamp(BindMarker)
is called multiple times, the last
value is used.
@NonNull UpdateStart usingTimestamp(@NonNull BindMarker bindMarker)
If this method or usingTimestamp(long)
is called multiple times, the last value is
used.
@NonNull UpdateStart usingTtl(int ttlInSeconds)
USING TTL
clause to this statement with a literal value. Setting a value of
null
will remove the USING TTL
clause on this statement. Setting a value of
0
will update the data and remove any TTL on the column when the statement is executed,
overriding any TTL (table or column) that may exist in Cassandra.
If this method or usingTtl(BindMarker)
is called multiple times, the value from
the last invocation is used.
ttlInSeconds
- Time, in seconds, the inserted data should live before expiring.@NonNull UpdateStart usingTtl(@NonNull BindMarker bindMarker)
USING TTL
clause to this statement with a bind marker. Setting a value of null
will remove the USING TTL
clause on this statement. Binding a value of 0
will update the data and remove any TTL on the column when the statement is executed,
overriding any TTL (table or column) that may exist in Cassandra.
If this method or usingTtl(int)
is called multiple times, the value from the last
invocation is used.
bindMarker
- A bind marker that is understood to be a value in seconds.Copyright © 2017–2019. All rights reserved.