Package | Description |
---|---|
com.datastax.driver.core.querybuilder |
A CQL3 query builder.
|
Modifier and Type | Method and Description |
---|---|
static BindMarker |
QueryBuilder.bindMarker()
An object representing an anonymous bind marker (a question mark).
|
static BindMarker |
QueryBuilder.bindMarker(String name)
An object representing a named bind marker.
|
Modifier and Type | Method and Description |
---|---|
static Assignment |
QueryBuilder.addAll(String name,
BindMarker set)
Adds a set of values to a set column.
|
static Assignment |
QueryBuilder.appendAll(String name,
BindMarker list)
Append a list of values to a list column.
|
static Assignment |
QueryBuilder.decr(String name,
BindMarker value)
Decrementation of a counter column by a provided value.
|
static Assignment |
QueryBuilder.discardAll(String name,
BindMarker list)
Discard a list of values to a list column.
|
static Assignment |
QueryBuilder.incr(String name,
BindMarker value)
Incrementation of a counter column by a provided value.
|
Select |
Select.limit(BindMarker marker)
Adds a prepared
LIMIT clause to this statement. |
Select |
Select.Where.limit(BindMarker limit)
Adds a bind marker for the
LIMIT clause to the SELECT statement this WHERE clause is part of. |
Delete.Selection |
Delete.Selection.listElt(String columnName,
BindMarker idx)
Deletes the provided list element, specified as a bind marker.
|
Select |
Select.perPartitionLimit(BindMarker marker)
Adds a prepared
PER PARTITION LIMIT clause to this statement. |
Select |
Select.Where.perPartitionLimit(BindMarker limit)
Adds a bind marker for the
PER PARTITION LIMIT clause to the SELECT statement
this WHERE clause is part of. |
static Assignment |
QueryBuilder.prependAll(String name,
BindMarker list)
Prepend a list of values to a list column.
|
static Assignment |
QueryBuilder.putAll(String name,
BindMarker map)
Puts a map of new key/value pairs to a map column.
|
static Assignment |
QueryBuilder.removeAll(String name,
BindMarker set)
Remove a set of values from a set column.
|
Delete.Selection |
Delete.Selection.setElt(String columnName,
BindMarker element)
Deletes the provided set element, specified as a bind marker.
|
static Using |
QueryBuilder.timeout(BindMarker marker)
Adds a
USING TIMEOUT clause to this statement with a bind marker. |
static Using |
QueryBuilder.timestamp(BindMarker marker)
Option to prepare the timestamp (in microseconds) for a modification query (insert, update or
delete).
|
static Using |
QueryBuilder.ttl(BindMarker marker)
Option to prepare the ttl (in seconds) for a modification query (insert, update or delete).
|
Copyright © 2012–2024. All rights reserved.