Package | Description |
---|---|
com.datastax.oss.driver.api.querybuilder | |
com.datastax.oss.driver.api.querybuilder.condition |
Modifier and Type | Interface and Description |
---|---|
interface |
Raw
A raw CQL snippet that will be appended to the query as-is, without any syntax checking or
escaping.
|
Modifier and Type | Method and Description |
---|---|
static ConditionBuilder<Condition> |
Condition.column(CqlIdentifier columnId)
Builds a condition on a column for a conditional statement, as in {@code DELETE...
|
static ConditionBuilder<Condition> |
Condition.column(String columnName)
Shortcut for
column(CqlIdentifier.fromCql(columnName)) . |
static ConditionBuilder<Condition> |
Condition.element(CqlIdentifier columnId,
Term index)
Builds a condition on an element in a collection column for a conditional statement, as in
{@code DELETE...
|
static ConditionBuilder<Condition> |
Condition.element(String columnName,
Term index)
Shortcut for
element(CqlIdentifier.fromCql(columnName),
index) . |
static ConditionBuilder<Condition> |
Condition.field(CqlIdentifier columnId,
CqlIdentifier fieldId)
Builds a condition on a field in a UDT column for a conditional statement, as in {@code
DELETE...
|
static ConditionBuilder<Condition> |
Condition.field(String columnName,
String fieldName)
|
Modifier and Type | Method and Description |
---|---|
default SelfT |
ConditionalStatement.if_(Condition... conditions)
Var-arg equivalent of
ConditionalStatement.if_(Iterable) . |
SelfT |
ConditionalStatement.if_(Condition condition)
Adds an IF condition.
|
Modifier and Type | Method and Description |
---|---|
SelfT |
ConditionalStatement.if_(Iterable<Condition> conditions)
Adds multiple IF conditions at once.
|
Copyright © 2017–2022. All rights reserved.