Package | Description |
---|---|
com.datastax.driver.core.querybuilder |
A CQL3 query builder.
|
Modifier and Type | Method and Description |
---|---|
Insert |
Insert.ifNotExists()
Sets the 'IF NOT EXISTS' option for this INSERT statement.
|
static Insert |
QueryBuilder.insertInto(String table)
Start building a new INSERT query.
|
static Insert |
QueryBuilder.insertInto(String keyspace,
String table)
Start building a new INSERT query.
|
static Insert |
QueryBuilder.insertInto(TableMetadata table)
Start building a new INSERT query.
|
Insert |
Insert.json(Object json)
Inserts the provided object, using the {@code INSERT INTO ...
|
Insert |
Insert.value(String name,
Object value)
Adds a column/value pair to the values inserted by this INSERT statement.
|
Insert |
Insert.Options.value(String name,
Object value)
Adds a column/value pair to the values inserted by this INSERT statement.
|
Insert |
Insert.values(List<String> names,
List<Object> values)
Adds multiple column/value pairs to the values inserted by this INSERT statement.
|
Insert |
Insert.values(String[] names,
Object[] values)
Adds multiple column/value pairs to the values inserted by this INSERT statement.
|
Insert |
Insert.Options.values(String[] names,
Object[] values)
Adds multiple column/value pairs to the values inserted by this INSERT statement.
|