| Package | Description | 
|---|---|
| com.datastax.oss.driver.api.querybuilder | |
| com.datastax.oss.driver.api.querybuilder.relation | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | RawA 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 Relation | Relation. customIndex(CqlIdentifier indexId,
           Term expression)Builds a relation on a custom index. | 
| static Relation | Relation. customIndex(String indexName,
           Term expression) | 
| Modifier and Type | Method and Description | 
|---|---|
| static ColumnRelationBuilder<Relation> | Relation. column(CqlIdentifier id)Builds a relation testing a column. | 
| static ColumnRelationBuilder<Relation> | Relation. column(String name)Shortcut for  column(CqlIdentifier.fromCql(name)) | 
| static MultiColumnRelationBuilder<Relation> | Relation. columnIds(Iterable<CqlIdentifier> identifiers)Builds a multi-column relation, as in  WHERE (c1, c2, c3) IN .... | 
| static MultiColumnRelationBuilder<Relation> | Relation. columns(CqlIdentifier... identifiers)Var-arg equivalent of  columnIds(Iterable). | 
| static MultiColumnRelationBuilder<Relation> | Relation. columns(Iterable<String> names)Equivalent of  columnIds(Iterable)with raw strings; the names are converted withCqlIdentifier.fromCql(String). | 
| static MultiColumnRelationBuilder<Relation> | Relation. columns(String... names)Var-arg equivalent of  columns(Iterable). | 
| static ColumnComponentRelationBuilder<Relation> | Relation. mapValue(CqlIdentifier columnId,
        Term index)Builds a relation testing a value in a map (Cassandra 4 and above). | 
| static ColumnComponentRelationBuilder<Relation> | Relation. mapValue(String columnName,
        Term index)Shortcut for  mapValue(CqlIdentifier.fromCql(columnName),
 index) | 
| static TokenRelationBuilder<Relation> | Relation. token(CqlIdentifier... identifiers)Var-arg equivalent of  tokenFromIds(Iterable). | 
| static TokenRelationBuilder<Relation> | Relation. token(Iterable<String> names)Equivalent of  tokenFromIds(Iterable)with raw strings; the names are converted withCqlIdentifier.fromCql(String). | 
| static TokenRelationBuilder<Relation> | Relation. token(String... names)Var-arg equivalent of  token(Iterable). | 
| static TokenRelationBuilder<Relation> | Relation. tokenFromIds(Iterable<CqlIdentifier> identifiers)Builds a relation testing a token generated from a set of columns. | 
| Modifier and Type | Method and Description | 
|---|---|
| default SelfT | OngoingWhereClause. where(Relation... additionalRelations)Var-arg equivalent of  OngoingWhereClause.where(Iterable). | 
| SelfT | OngoingWhereClause. where(Relation relation)Adds a relation in the WHERE clause. | 
| Modifier and Type | Method and Description | 
|---|---|
| SelfT | OngoingWhereClause. where(Iterable<Relation> additionalRelations)Adds multiple relations at once. | 
Copyright © 2017–2023. All rights reserved.