Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
Modifier and Type | Method and Description |
---|---|
QueryOptions |
Configuration.getQueryOptions()
Returns the queries configuration.
|
QueryOptions |
QueryOptions.setConsistencyLevel(ConsistencyLevel consistencyLevel)
Sets the default consistency level to use for queries.
|
QueryOptions |
QueryOptions.setDefaultIdempotence(boolean defaultIdempotence)
Sets the default idempotence for queries.
|
QueryOptions |
QueryOptions.setFetchSize(int fetchSize)
Sets the default fetch size to use for SELECT queries.
|
QueryOptions |
QueryOptions.setSerialConsistencyLevel(ConsistencyLevel serialConsistencyLevel)
Sets the default serial consistency level to use for queries.
|
Modifier and Type | Method and Description |
---|---|
Configuration.Builder |
Configuration.Builder.withQueryOptions(QueryOptions queryOptions)
Sets the query options for this cluster.
|
Cluster.Builder |
Cluster.Builder.withQueryOptions(QueryOptions options)
Sets the QueryOptions to use for the newly created Cluster.
|
Copyright © 2012–2015. All rights reserved.