Package | Description |
---|---|
com.datastax.dse.driver.api.core.config | |
com.datastax.oss.driver.api.core.config |
The configuration of the driver.
|
Modifier and Type | Class and Description |
---|---|
class |
DseDriverOption |
Modifier and Type | Class and Description |
---|---|
class |
DefaultDriverOption
Built-in driver options for the core driver.
|
Modifier and Type | Method and Description |
---|---|
DriverOption |
TypedDriverOption.getRawOption() |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Map<DriverOption,Object>> |
OptionsMap.asRawMap()
Returns a live view of this object, using the driver's untyped
DriverOption . |
Modifier and Type | Method and Description |
---|---|
boolean |
DriverExecutionProfile.getBoolean(DriverOption option) |
default boolean |
DriverExecutionProfile.getBoolean(DriverOption option,
boolean defaultValue) |
List<Boolean> |
DriverExecutionProfile.getBooleanList(DriverOption option) |
default List<Boolean> |
DriverExecutionProfile.getBooleanList(DriverOption option,
List<Boolean> defaultValue) |
long |
DriverExecutionProfile.getBytes(DriverOption option) |
default long |
DriverExecutionProfile.getBytes(DriverOption option,
long defaultValue) |
List<Long> |
DriverExecutionProfile.getBytesList(DriverOption option) |
default List<Long> |
DriverExecutionProfile.getBytesList(DriverOption option,
List<Long> defaultValue) |
default Object |
DriverExecutionProfile.getComparisonKey(DriverOption option)
Returns a representation of all the child options under a given option.
|
double |
DriverExecutionProfile.getDouble(DriverOption option) |
default double |
DriverExecutionProfile.getDouble(DriverOption option,
double defaultValue) |
List<Double> |
DriverExecutionProfile.getDoubleList(DriverOption option) |
default List<Double> |
DriverExecutionProfile.getDoubleList(DriverOption option,
List<Double> defaultValue) |
Duration |
DriverExecutionProfile.getDuration(DriverOption option) |
default Duration |
DriverExecutionProfile.getDuration(DriverOption option,
Duration defaultValue) |
List<Duration> |
DriverExecutionProfile.getDurationList(DriverOption option) |
default List<Duration> |
DriverExecutionProfile.getDurationList(DriverOption option,
List<Duration> defaultValue) |
int |
DriverExecutionProfile.getInt(DriverOption option) |
default int |
DriverExecutionProfile.getInt(DriverOption option,
int defaultValue) |
List<Integer> |
DriverExecutionProfile.getIntList(DriverOption option) |
default List<Integer> |
DriverExecutionProfile.getIntList(DriverOption option,
List<Integer> defaultValue) |
long |
DriverExecutionProfile.getLong(DriverOption option) |
default long |
DriverExecutionProfile.getLong(DriverOption option,
long defaultValue) |
List<Long> |
DriverExecutionProfile.getLongList(DriverOption option) |
default List<Long> |
DriverExecutionProfile.getLongList(DriverOption option,
List<Long> defaultValue) |
String |
DriverExecutionProfile.getString(DriverOption option) |
default String |
DriverExecutionProfile.getString(DriverOption option,
String defaultValue) |
List<String> |
DriverExecutionProfile.getStringList(DriverOption option) |
default List<String> |
DriverExecutionProfile.getStringList(DriverOption option,
List<String> defaultValue) |
Map<String,String> |
DriverExecutionProfile.getStringMap(DriverOption option) |
default Map<String,String> |
DriverExecutionProfile.getStringMap(DriverOption option,
Map<String,String> defaultValue) |
boolean |
DriverExecutionProfile.isDefined(DriverOption option) |
default DriverExecutionProfile |
DriverExecutionProfile.withBoolean(DriverOption option,
boolean value) |
SelfT |
OngoingConfigOptions.withBoolean(DriverOption option,
boolean value) |
default DriverExecutionProfile |
DriverExecutionProfile.withBooleanList(DriverOption option,
List<Boolean> value) |
SelfT |
OngoingConfigOptions.withBooleanList(DriverOption option,
List<Boolean> value) |
default DriverExecutionProfile |
DriverExecutionProfile.withBytes(DriverOption option,
long value) |
SelfT |
OngoingConfigOptions.withBytes(DriverOption option,
long value) |
default DriverExecutionProfile |
DriverExecutionProfile.withBytesList(DriverOption option,
List<Long> value) |
SelfT |
OngoingConfigOptions.withBytesList(DriverOption option,
List<Long> value) |
default SelfT |
OngoingConfigOptions.withClass(DriverOption option,
Class<?> value)
Note that this is just a shortcut to call
OngoingConfigOptions.withString(DriverOption, String) with value.getName() . |
default SelfT |
OngoingConfigOptions.withClassList(DriverOption option,
List<Class<?>> values)
Note that this is just a shortcut to call
OngoingConfigOptions.withStringList(DriverOption, List) with
class names obtained from Class.getName() . |
default DriverExecutionProfile |
DriverExecutionProfile.withDouble(DriverOption option,
double value) |
SelfT |
OngoingConfigOptions.withDouble(DriverOption option,
double value) |
default DriverExecutionProfile |
DriverExecutionProfile.withDoubleList(DriverOption option,
List<Double> value) |
SelfT |
OngoingConfigOptions.withDoubleList(DriverOption option,
List<Double> value) |
default DriverExecutionProfile |
DriverExecutionProfile.withDuration(DriverOption option,
Duration value) |
SelfT |
OngoingConfigOptions.withDuration(DriverOption option,
Duration value) |
default DriverExecutionProfile |
DriverExecutionProfile.withDurationList(DriverOption option,
List<Duration> value) |
SelfT |
OngoingConfigOptions.withDurationList(DriverOption option,
List<Duration> value) |
default DriverExecutionProfile |
DriverExecutionProfile.withInt(DriverOption option,
int value) |
SelfT |
OngoingConfigOptions.withInt(DriverOption option,
int value) |
default DriverExecutionProfile |
DriverExecutionProfile.withIntList(DriverOption option,
List<Integer> value) |
SelfT |
OngoingConfigOptions.withIntList(DriverOption option,
List<Integer> value) |
default DriverExecutionProfile |
DriverExecutionProfile.withLong(DriverOption option,
long value) |
SelfT |
OngoingConfigOptions.withLong(DriverOption option,
long value) |
default DriverExecutionProfile |
DriverExecutionProfile.withLongList(DriverOption option,
List<Long> value) |
SelfT |
OngoingConfigOptions.withLongList(DriverOption option,
List<Long> value) |
default DriverExecutionProfile |
DriverExecutionProfile.without(DriverOption option) |
SelfT |
OngoingConfigOptions.without(DriverOption option) |
default DriverExecutionProfile |
DriverExecutionProfile.withString(DriverOption option,
String value) |
SelfT |
OngoingConfigOptions.withString(DriverOption option,
String value) |
default DriverExecutionProfile |
DriverExecutionProfile.withStringList(DriverOption option,
List<String> value) |
SelfT |
OngoingConfigOptions.withStringList(DriverOption option,
List<String> value) |
default DriverExecutionProfile |
DriverExecutionProfile.withStringMap(DriverOption option,
Map<String,String> value) |
SelfT |
OngoingConfigOptions.withStringMap(DriverOption option,
Map<String,String> value) |
Constructor and Description |
---|
TypedDriverOption(DriverOption rawOption,
GenericType<ValueT> expectedType) |
Copyright © 2017–2024. All rights reserved.