Package | Description |
---|---|
com.datastax.oss.driver.api.querybuilder | |
com.datastax.oss.driver.api.querybuilder.delete |
Modifier and Type | Method and Description |
---|---|
static DeleteSelection |
QueryBuilder.deleteFrom(CqlIdentifier table)
Starts a DELETE query for an unqualified table.
|
static DeleteSelection |
QueryBuilder.deleteFrom(CqlIdentifier keyspace,
CqlIdentifier table)
Starts a DELETE query for a qualified table.
|
static DeleteSelection |
QueryBuilder.deleteFrom(String table)
Shortcut for
deleteFrom(CqlIdentifier.fromCql(table)) |
static DeleteSelection |
QueryBuilder.deleteFrom(String keyspace,
String table)
|
Modifier and Type | Method and Description |
---|---|
default DeleteSelection |
DeleteSelection.column(CqlIdentifier columnId)
Deletes a particular column by its CQL identifier.
|
default DeleteSelection |
DeleteSelection.column(String columnName)
Shortcut for
column(CqlIdentifier.fromCql(columnName)) |
default DeleteSelection |
DeleteSelection.element(CqlIdentifier collectionId,
Term index)
Deletes an element in a collection column, as in
DELETE m['key'] . |
default DeleteSelection |
DeleteSelection.element(String collectionName,
Term index)
Shortcut for
element(CqlIdentifier.fromCql(collectionName), index) . |
default DeleteSelection |
DeleteSelection.field(CqlIdentifier udtColumnId,
CqlIdentifier fieldId)
Deletes a field inside of a UDT column, as in
DELETE user.name . |
default DeleteSelection |
DeleteSelection.field(String udtColumnName,
String fieldName)
|
default DeleteSelection |
DeleteSelection.raw(String raw)
Specifies an element to delete as a raw CQL snippet.
|
DeleteSelection |
DeleteSelection.selector(Selector selector)
Adds a selector.
|
DeleteSelection |
DeleteSelection.selectors(Iterable<Selector> additionalSelectors)
Adds multiple selectors at once.
|
default DeleteSelection |
DeleteSelection.selectors(Selector... additionalSelectors)
Var-arg equivalent of
selectors(Iterable) . |
DeleteSelection |
DeleteSelection.usingTimestamp(BindMarker bindMarker)
Adds a USING TIMESTAMP clause to this statement with a bind marker.
|
DeleteSelection |
DeleteSelection.usingTimestamp(long timestamp)
Adds a USING TIMESTAMP clause to this statement with a literal value.
|
Copyright © 2017–2019. All rights reserved.