Package | Description |
---|---|
com.datastax.dse.driver.api.core.config | |
com.datastax.oss.driver.api.core.config |
The configuration of the driver.
|
com.datastax.oss.driver.api.core.context | |
com.datastax.oss.driver.api.core.session |
Modifier and Type | Method and Description |
---|---|
static DriverConfigLoader |
DseDriverConfigLoader.fromClasspath(String resourceBaseName)
Deprecated.
This method only exists for backward compatibility. It delegates to
fromClasspath(String) , which you should call directly instead. |
static DriverConfigLoader |
DseDriverConfigLoader.fromFile(File file)
Deprecated.
This method only exists for backward compatibility. It delegates to
fromFile(File) , which you should call directly instead. |
static DriverConfigLoader |
DseDriverConfigLoader.fromUrl(URL url)
Deprecated.
This method only exists for backward compatibility. It delegates to
fromUrl(URL) , which you should call directly instead. |
Modifier and Type | Method and Description |
---|---|
DriverConfigLoader |
ProgrammaticDriverConfigLoaderBuilder.build() |
static DriverConfigLoader |
DriverConfigLoader.fromClasspath(String resourceBaseName)
Builds an instance using the driver's default implementation (based on Typesafe config), except
that application-specific options are loaded from a classpath resource with a custom name.
|
static DriverConfigLoader |
DriverConfigLoader.fromFile(File file)
Builds an instance using the driver's default implementation (based on Typesafe config), except
that application-specific options are loaded from the given file.
|
static DriverConfigLoader |
DriverConfigLoader.fromPath(Path file)
Builds an instance using the driver's default implementation (based on Typesafe config), except
that application-specific options are loaded from the given path.
|
static DriverConfigLoader |
DriverConfigLoader.fromUrl(URL url)
Builds an instance using the driver's default implementation (based on Typesafe config), except
that application-specific options are loaded from the given URL.
|
Modifier and Type | Method and Description |
---|---|
DriverConfigLoader |
DriverContext.getConfigLoader() |
Modifier and Type | Field and Description |
---|---|
protected DriverConfigLoader |
SessionBuilder.configLoader |
Modifier and Type | Method and Description |
---|---|
protected DriverConfigLoader |
SessionBuilder.defaultConfigLoader() |
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)
Deprecated.
this method only exists for backward compatibility (if a subclass written for
driver 4.1.0 returns a non-null result, that value will be used). Please override
SessionBuilder.buildContext(DriverConfigLoader, ProgrammaticArguments) instead. |
protected DriverContext |
SessionBuilder.buildContext(DriverConfigLoader configLoader,
ProgrammaticArguments programmaticArguments)
This must return an instance of
InternalDriverContext (it's not expressed
directly in the signature to avoid leaking that type through the protected API). |
SelfT |
SessionBuilder.withConfigLoader(DriverConfigLoader configLoader)
Sets the configuration loader to use.
|
Copyright © 2017–2020. All rights reserved.