Package | Description |
---|---|
com.datastax.driver.core.querybuilder |
A CQL3 query builder.
|
Modifier and Type | Method and Description |
---|---|
Insert |
Insert.defaultNull()
Appends a
DEFAULT NULL clause to this {@code INSERT INTO ... |
Insert |
Insert.defaultUnset()
Appends a
DEFAULT UNSET clause to this {@code INSERT INTO ... |
Insert |
Insert.ifNotExists()
Sets the 'IF NOT EXISTS' option for this
INSERT statement. |
static Insert |
QueryBuilder.insertInto(String table)
Starts building a new
INSERT query. |
static Insert |
QueryBuilder.insertInto(String keyspace,
String table)
Starts building a new
INSERT query. |
static Insert |
QueryBuilder.insertInto(TableMetadata table)
Starts 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. |
Copyright © 2012–2017. All rights reserved.