Package | Description |
---|---|
com.datastax.driver.core.querybuilder |
A CQL3 query builder.
|
Modifier and Type | Method and Description |
---|---|
static Assignment |
QueryBuilder.add(String name,
Object value)
Adds a value to a set column.
|
static Assignment |
QueryBuilder.addAll(String name,
BindMarker set)
Adds a set of values to a set column.
|
static Assignment |
QueryBuilder.addAll(String name,
Set<?> set)
Adds a set of values to a set column.
|
static Assignment |
QueryBuilder.append(String name,
Object value)
Append a value to a list column.
|
static Assignment |
QueryBuilder.appendAll(String name,
BindMarker list)
Append a list of values to a list column.
|
static Assignment |
QueryBuilder.appendAll(String name,
List<?> list)
Append a list of values to a list column.
|
static Assignment |
QueryBuilder.decr(String name)
Decrementation of a counter column.
|
static Assignment |
QueryBuilder.decr(String name,
BindMarker value)
Decrementation of a counter column by a provided value.
|
static Assignment |
QueryBuilder.decr(String name,
long value)
Decrementation of a counter column by a provided value.
|
static Assignment |
QueryBuilder.discard(String name,
Object value)
Discard a value from a list column.
|
static Assignment |
QueryBuilder.discardAll(String name,
BindMarker list)
Discard a list of values to a list column.
|
static Assignment |
QueryBuilder.discardAll(String name,
List<?> list)
Discard a list of values to a list column.
|
static Assignment |
QueryBuilder.incr(String name)
Incrementation of a counter column.
|
static Assignment |
QueryBuilder.incr(String name,
BindMarker value)
Incrementation of a counter column by a provided value.
|
static Assignment |
QueryBuilder.incr(String name,
long value)
Incrementation of a counter column by a provided value.
|
static Assignment |
QueryBuilder.prepend(String name,
Object value)
Prepend a value to a list column.
|
static Assignment |
QueryBuilder.prependAll(String name,
BindMarker list)
Prepend a list of values to a list column.
|
static Assignment |
QueryBuilder.prependAll(String name,
List<?> list)
Prepend a list of values to a list column.
|
static Assignment |
QueryBuilder.put(String name,
Object key,
Object value)
Puts a new key/value pair to a map column.
|
static Assignment |
QueryBuilder.putAll(String name,
BindMarker map)
Puts a map of new key/value pairs to a map column.
|
static Assignment |
QueryBuilder.putAll(String name,
Map<?,?> map)
Puts a map of new key/value pairs to a map column.
|
static Assignment |
QueryBuilder.remove(String name,
Object value)
Remove a value from a set column.
|
static Assignment |
QueryBuilder.removeAll(String name,
BindMarker set)
Remove a set of values from a set column.
|
static Assignment |
QueryBuilder.removeAll(String name,
Set<?> set)
Remove a set of values from a set column.
|
static Assignment |
QueryBuilder.set(Object name,
Object value)
Advanced "set" assignment of a value to a column or a
UDT field. |
static Assignment |
QueryBuilder.set(String name,
Object value)
Simple "set" assignment of a value to a column.
|
static Assignment |
QueryBuilder.setIdx(String name,
int idx,
Object value)
Sets a list column value by index.
|
Modifier and Type | Method and Description |
---|---|
Update.Assignments |
Update.Assignments.and(Assignment assignment)
Adds a new assignment for this UPDATE statement.
|
Update.Assignments |
Update.with(Assignment assignment)
Adds an assignment to this UPDATE statement.
|
Update.Assignments |
Update.Where.with(Assignment assignment)
Adds an assignment to the UPDATE statement this WHERE clause is part of.
|
Update.Assignments |
Update.Options.with(Assignment assignment)
Adds an assignment to the UPDATE statement those options are part of.
|
Update.Assignments |
Update.Conditions.with(Assignment assignment)
Adds an assignment to the UPDATE statement those conditions are part of.
|
Copyright © 2012–2024. All rights reserved.