Package | Description |
---|---|
com.datastax.oss.driver.api.querybuilder.condition |
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)
|
default ConditionBuilder<SelfT> |
ConditionalStatement.ifColumn(CqlIdentifier columnId)
Adds an IF condition on a simple column, as in {@code DELETE...
|
default ConditionBuilder<SelfT> |
ConditionalStatement.ifColumn(String columnName)
Shortcut for
column(CqlIdentifier.fromCql(columnName)) . |
default ConditionBuilder<SelfT> |
ConditionalStatement.ifElement(CqlIdentifier columnId,
Term index)
Adds an IF condition on an element in a collection column for a conditional statement, as in
{@code DELETE...
|
default ConditionBuilder<SelfT> |
ConditionalStatement.ifElement(String columnName,
Term index)
Shortcut for
element(CqlIdentifier.fromCql(columnName),
index) . |
default ConditionBuilder<SelfT> |
ConditionalStatement.ifField(CqlIdentifier columnId,
CqlIdentifier fieldId)
Adds an IF condition on a field in a UDT column for a conditional statement, as in {@code
DELETE...
|
default ConditionBuilder<SelfT> |
ConditionalStatement.ifField(String columnName,
String fieldName)
|
Copyright © 2017–2022. All rights reserved.