Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
Modifier and Type | Method and Description |
---|---|
BatchStatement |
BatchStatement.add(Statement statement)
Adds a new statement to this batch.
|
BatchStatement |
BatchStatement.addAll(Iterable<? extends Statement> statements)
Adds multiple statements to this batch.
|
BatchStatement |
BatchStatement.clear()
Clears this batch, removing all statements added so far.
|
BatchStatement |
BatchStatement.setKeyspace(String keyspace)
Sets the keyspace the queries in this batch statement operate on.
|
BatchStatement |
BatchStatement.setSerialConsistencyLevel(ConsistencyLevel serialConsistency)
Sets the serial consistency level for the query.
|
Modifier and Type | Method and Description |
---|---|
protected int |
QueryLogger.countBoundValues(BatchStatement bs) |
Copyright © 2012–2018. All rights reserved.