Package | Description |
---|---|
com.datastax.oss.driver.api.core.config |
The configuration of the driver.
|
com.datastax.oss.driver.api.core.cql | |
com.datastax.oss.driver.api.core.session |
Modifier and Type | Method and Description |
---|---|
void |
DriverConfigLoader.onDriverInit(DriverContext context)
Called when the driver initializes.
|
Modifier and Type | Method and Description |
---|---|
int |
Statement.computeSizeInBytes(DriverContext context)
Calculates the approximate size in bytes that the statement will have when encoded.
|
default int |
SimpleStatement.computeSizeInBytes(DriverContext context) |
default int |
BoundStatement.computeSizeInBytes(DriverContext context) |
default int |
BatchStatement.computeSizeInBytes(DriverContext context) |
Modifier and Type | Method and Description |
---|---|
protected DriverContext |
SessionBuilder.buildContext(DriverConfigLoader configLoader,
List<TypeCodec<?>> typeCodecs,
NodeStateListener nodeStateListener,
SchemaChangeListener schemaChangeListener,
RequestTracker requestTracker,
Map<String,String> localDatacenters,
Map<String,Predicate<Node>> nodeFilters,
ClassLoader classLoader)
This must return an instance of
InternalDriverContext (it's not expressed
directly in the signature to avoid leaking that type through the protected API). |
DriverContext |
Session.getContext()
Returns a context that provides access to all the policies used by this driver instance.
|
Copyright © 2017–2019. All rights reserved.