public interface Insert extends BuildableQuery
Modifier and Type | Method and Description |
---|---|
Insert |
ifNotExists()
Adds an IF NOT EXISTS clause to this statement.
|
Insert |
usingTimestamp(BindMarker bindMarker)
Adds a USING TIMESTAMP clause to this statement with a bind marker.
|
Insert |
usingTimestamp(long timestamp)
Adds a USING TIMESTAMP clause to this statement with a literal value.
|
asCql, build, builder
@NonNull Insert ifNotExists()
@NonNull Insert usingTimestamp(long timestamp)
If this method or usingTimestamp(BindMarker)
is called multiple times, the last
value is used.
@NonNull Insert usingTimestamp(@Nullable BindMarker bindMarker)
If this method or usingTimestamp(long)
is called multiple times, the last value is
used. Passing null
to this method removes any previous timestamp.
Copyright © 2017–2018. All rights reserved.