public enum DefaultDriverOption extends Enum<DefaultDriverOption> implements DriverOption
Refer to reference.conf in the driver codebase for a full description of each option.
| Enum Constant and Description |
|---|
ADDRESS_TRANSLATOR_CLASS
The class of the address translator to use to convert the addresses sent by Cassandra nodes
into ones that the driver uses to connect.
|
AUTH_PROVIDER_CLASS
The class of the authentication provider.
|
AUTH_PROVIDER_PASSWORD
Plain text auth provider password.
|
AUTH_PROVIDER_USER_NAME
Plain text auth provider username.
|
CLOUD_SECURE_CONNECT_BUNDLE
The location of the cloud secure bundle used to connect to DataStax Apache Cassandra as a
service.
|
COALESCER_INTERVAL
The coalescer reschedule interval.
|
COALESCER_MAX_RUNS
Deprecated.
This option was removed in version 4.6.1.
|
CONFIG_RELOAD_INTERVAL
How often the driver tries to reload the configuration.
|
CONNECTION_CONNECT_TIMEOUT
The timeout to use when establishing driver connections.
|
CONNECTION_INIT_QUERY_TIMEOUT
The timeout to use for internal queries that run as part of the initialization process
|
CONNECTION_MAX_ORPHAN_REQUESTS
The maximum number of "orphaned" requests before a connection gets closed automatically.
|
CONNECTION_MAX_REQUESTS
The maximum number of requests that can be executed concurrently on a connection
|
CONNECTION_POOL_LOCAL_SIZE
The number of connections in the LOCAL pool.
|
CONNECTION_POOL_REMOTE_SIZE
The number of connections in the REMOTE pool.
|
CONNECTION_SET_KEYSPACE_TIMEOUT
The timeout to use when the driver changes the keyspace on a connection at runtime.
|
CONNECTION_WARN_INIT_ERROR
Whether to log non-fatal errors when the driver tries to open a new connection.
|
CONTACT_POINTS
The contact points to use for the initial connection to the cluster.
|
CONTROL_CONNECTION_AGREEMENT_INTERVAL
The interval between each schema agreement check attempt.
|
CONTROL_CONNECTION_AGREEMENT_TIMEOUT
The timeout after which schema agreement fails.
|
CONTROL_CONNECTION_AGREEMENT_WARN
Whether to log a warning if schema agreement fails.
|
CONTROL_CONNECTION_RECONNECT_CONTACT_POINTS
Whether to forcibly add original contact points held by MetadataManager to the reconnection
plan, in case there is no live nodes available according to LBP.
|
CONTROL_CONNECTION_TIMEOUT
How long the driver waits for responses to control queries.
|
HEARTBEAT_INTERVAL
The connection heartbeat interval.
|
HEARTBEAT_TIMEOUT
How long the driver waits for the response to a heartbeat.
|
LOAD_BALANCING_DC_FAILOVER_ALLOW_FOR_LOCAL_CONSISTENCY_LEVELS
Whether to consider nodes from remote DCs if the request's consistency level is local.
|
LOAD_BALANCING_DC_FAILOVER_MAX_NODES_PER_REMOTE_DC
The maximum number of nodes from remote DCs to include in query plans.
|
LOAD_BALANCING_DC_FAILOVER_PREFERRED_REMOTE_DCS
Ordered preference list of remote dcs optionally supplied for automatic failover.
|
LOAD_BALANCING_DISTANCE_EVALUATOR_CLASS
The class name of a custom
NodeDistanceEvaluator. |
LOAD_BALANCING_FILTER_CLASS
Deprecated.
use
LOAD_BALANCING_DISTANCE_EVALUATOR_CLASS instead. |
LOAD_BALANCING_LOCAL_DATACENTER
The datacenter that is considered "local".
|
LOAD_BALANCING_LOCAL_RACK
The rack that is considered "local".
|
LOAD_BALANCING_POLICY |
LOAD_BALANCING_POLICY_CLASS
The class of the load balancing policy.
|
LOAD_BALANCING_POLICY_SLOW_AVOIDANCE
Whether the slow replica avoidance should be enabled in the default LBP.
|
METADATA_ALLOW_ZERO_TOKEN_PEERS
Whether zero token peers should be considered valid.
|
METADATA_NODE_STATE_LISTENER_CLASS
Deprecated.
Use
METADATA_NODE_STATE_LISTENER_CLASSES instead. |
METADATA_NODE_STATE_LISTENER_CLASSES
The classes of session-wide components that listen for node state changes.
|
METADATA_SCHEMA_CHANGE_LISTENER_CLASS
Deprecated.
Use
METADATA_SCHEMA_CHANGE_LISTENER_CLASSES instead. |
METADATA_SCHEMA_CHANGE_LISTENER_CLASSES
The classes of session-wide components that listen for schema changes.
|
METADATA_SCHEMA_ENABLED
Whether schema metadata is enabled.
|
METADATA_SCHEMA_MAX_EVENTS
The maximum number of refreshes that can accumulate.
|
METADATA_SCHEMA_REFRESHED_KEYSPACES
The list of keyspaces for which schema and token metadata should be maintained.
|
METADATA_SCHEMA_REQUEST_PAGE_SIZE
The page size for the requests to the schema tables.
|
METADATA_SCHEMA_REQUEST_TIMEOUT
The timeout for the requests to the schema tables.
|
METADATA_SCHEMA_WINDOW
How long the driver waits to apply a refresh.
|
METADATA_TOKEN_MAP_ENABLED
Whether token metadata is enabled.
|
METADATA_TOPOLOGY_MAX_EVENTS
The maximum number of events that can accumulate.
|
METADATA_TOPOLOGY_WINDOW
How long the driver waits to propagate a Topology event.
|
METRICS_FACTORY_CLASS
The classname of the desired MetricsFactory implementation.
|
METRICS_GENERATE_AGGREGABLE_HISTOGRAMS
Adds histogram buckets used to generate aggregable percentile approximations in monitoring
systems that have query facilities to do so (e.g.
|
METRICS_ID_GENERATOR_CLASS
The classname of the desired
MetricIdGenerator implementation. |
METRICS_ID_GENERATOR_PREFIX
The value of the prefix to prepend to all metric names.
|
METRICS_NODE_CQL_MESSAGES_DIGITS
The number of significant decimal digits to which internal structures will maintain for
requests.
|
METRICS_NODE_CQL_MESSAGES_HIGHEST
The largest latency that we expect to record for requests.
|
METRICS_NODE_CQL_MESSAGES_INTERVAL
The interval at which percentile data is refreshed for requests.
|
METRICS_NODE_CQL_MESSAGES_LOWEST
The shortest latency that we expect to record for requests.
|
METRICS_NODE_CQL_MESSAGES_PUBLISH_PERCENTILES
Optional list of percentiles to publish for node cql-messages metric.
|
METRICS_NODE_CQL_MESSAGES_SLO
Optional service-level objectives to meet, as a list of latencies to track.
|
METRICS_NODE_ENABLED
List of enabled node-level metrics.
|
METRICS_NODE_EXPIRE_AFTER
The period of inactivity after which the node level metrics will be evicted.
|
METRICS_SESSION_CQL_REQUESTS_DIGITS
The number of significant decimal digits to which internal structures will maintain for
requests.
|
METRICS_SESSION_CQL_REQUESTS_HIGHEST
The largest latency that we expect to record for requests.
|
METRICS_SESSION_CQL_REQUESTS_INTERVAL
The interval at which percentile data is refreshed for requests.
|
METRICS_SESSION_CQL_REQUESTS_LOWEST
The shortest latency that we expect to record for requests.
|
METRICS_SESSION_CQL_REQUESTS_PUBLISH_PERCENTILES
Optional list of percentiles to publish for cql-requests metric.
|
METRICS_SESSION_CQL_REQUESTS_SLO
Optional service-level objectives to meet, as a list of latencies to track.
|
METRICS_SESSION_ENABLED
List of enabled session-level metrics.
|
METRICS_SESSION_THROTTLING_DIGITS
The number of significant decimal digits to which internal structures will maintain for
throttling.
|
METRICS_SESSION_THROTTLING_HIGHEST
The largest latency that we expect to record for throttling.
|
METRICS_SESSION_THROTTLING_INTERVAL
The interval at which percentile data is refreshed for throttling.
|
METRICS_SESSION_THROTTLING_LOWEST
The shortest latency that we expect to record for throttling.
|
METRICS_SESSION_THROTTLING_PUBLISH_PERCENTILES
Optional list of percentiles to publish for throttling delay metric.Produces an additional time
series for each requested percentile.
|
METRICS_SESSION_THROTTLING_SLO
Optional service-level objectives to meet, as a list of latencies to track.
|
NETTY_ADMIN_SHUTDOWN_QUIET_PERIOD
Quiet period for admin group shutdown.
|
NETTY_ADMIN_SHUTDOWN_TIMEOUT
Max time to wait for admin group shutdown.
|
NETTY_ADMIN_SHUTDOWN_UNIT
Units for admin group quite period and timeout.
|
NETTY_ADMIN_SIZE
The number of threads in the Admin group.
|
NETTY_DAEMON
Whether the threads created by the driver should be daemon threads.
|
NETTY_IO_SHUTDOWN_QUIET_PERIOD
Quiet period for I/O group shutdown.
|
NETTY_IO_SHUTDOWN_TIMEOUT
Max time to wait for I/O group shutdown.
|
NETTY_IO_SHUTDOWN_UNIT
Units for I/O group quiet period and timeout.
|
NETTY_IO_SIZE
The number of threads in the I/O group.
|
NETTY_TIMER_TICK_DURATION
This is how frequent the timer should wake up to check for timed-out tasks or speculative
executions.
|
NETTY_TIMER_TICKS_PER_WHEEL
Number of ticks in the Timer wheel.
|
PREPARE_ON_ALL_NODES
Whether `Session.prepare` calls should be sent to all nodes in the cluster.
|
PREPARE_SKIP_CQL4_METADATA_RESOLVE_METHOD
CQL 4.x has a known issue where prepared statement invalidation may be bypassed on the client
side.
|
PREPARED_CACHE_WEAK_VALUES
Whether the prepared statements cache use weak values.
|
PROTOCOL_COMPRESSION
The name of the algorithm used to compress protocol frames.
|
PROTOCOL_MAX_FRAME_LENGTH
The maximum length, in bytes, of the frames supported by the driver.
|
PROTOCOL_VERSION
The native protocol version to use.
|
RECONNECT_ON_INIT
Whether to schedule reconnection attempts if all contact points are unreachable on the first
initialization attempt.
|
RECONNECTION_BASE_DELAY
Base delay for computing time between reconnection attempts.
|
RECONNECTION_MAX_DELAY
Maximum delay between reconnection attempts.
|
RECONNECTION_POLICY_CLASS
The class of the reconnection policy.
|
REPREPARE_CHECK_SYSTEM_TABLE
Whether to check `system.prepared_statements` on the target node before repreparing.
|
REPREPARE_ENABLED
Whether the driver tries to prepare on new nodes at all.
|
REPREPARE_MAX_PARALLELISM
The maximum number of concurrent requests when repreparing.
|
REPREPARE_MAX_STATEMENTS
The maximum number of statements that should be reprepared.
|
REPREPARE_TIMEOUT
The request timeout when repreparing.
|
REQUEST_CONSISTENCY
The consistency level.
|
REQUEST_DEFAULT_IDEMPOTENCE
The default idempotence of a request.
|
REQUEST_LOG_WARNINGS
Whether logging of server warnings generated during query execution should be disabled by the
driver.
|
REQUEST_LOGGER_ERROR_ENABLED
Whether to log failed requests.
|
REQUEST_LOGGER_MAX_QUERY_LENGTH
The maximum length of the query string in the log message.
|
REQUEST_LOGGER_MAX_VALUE_LENGTH
The maximum length for bound values in the log message.
|
REQUEST_LOGGER_MAX_VALUES
The maximum number of bound values to log.
|
REQUEST_LOGGER_SLOW_ENABLED
Whether to log slow requests.
|
REQUEST_LOGGER_SLOW_THRESHOLD
The threshold to classify a successful request as "slow".
|
REQUEST_LOGGER_STACK_TRACES
Whether to log stack traces for failed queries.
|
REQUEST_LOGGER_SUCCESS_ENABLED
Whether to log successful requests.
|
REQUEST_LOGGER_VALUES
Whether to log bound values in addition to the query string.
|
REQUEST_PAGE_SIZE
The page size.
|
REQUEST_SERIAL_CONSISTENCY
The serial consistency level.
|
REQUEST_THROTTLER_CLASS
The class of a session-wide component that controls the rate at which requests are executed.
|
REQUEST_THROTTLER_DRAIN_INTERVAL
How often the throttler attempts to dequeue requests.
|
REQUEST_THROTTLER_MAX_CONCURRENT_REQUESTS
The maximum number of requests that are allowed to execute in parallel.
|
REQUEST_THROTTLER_MAX_QUEUE_SIZE
The maximum number of requests that can be enqueued when the throttling threshold is exceeded.
|
REQUEST_THROTTLER_MAX_REQUESTS_PER_SECOND
The maximum allowed request rate.
|
REQUEST_TIMEOUT
How long the driver waits for a request to complete.
|
REQUEST_TRACE_ATTEMPTS
How many times the driver will attempt to fetch the query trace if it is not ready yet.
|
REQUEST_TRACE_CONSISTENCY
The consistency level to use for trace queries.
|
REQUEST_TRACE_INTERVAL
The interval between each attempt.
|
REQUEST_TRACKER_CLASS
Deprecated.
Use
REQUEST_TRACKER_CLASSES instead. |
REQUEST_TRACKER_CLASSES
The classes of session-wide components that track the outcome of requests.
|
REQUEST_WARN_IF_SET_KEYSPACE
Whether a warning is logged when a request (such as a CQL `USE ...`) changes the active
keyspace.
|
RESOLVE_CONTACT_POINTS
Whether to resolve the addresses passed to `basic.contact-points`.
|
RETRY_POLICY |
RETRY_POLICY_CLASS
The class of the retry policy.
|
SESSION_KEYSPACE
The name of the keyspace that the session should initially be connected to.
|
SESSION_LEAK_THRESHOLD
The maximum number of live sessions that are allowed to coexist in a given VM.
|
SESSION_NAME
A name that uniquely identifies the driver instance.
|
SOCKET_KEEP_ALIVE
Whether or not to enable TCP keep-alive probes.
|
SOCKET_LINGER_INTERVAL
Sets the linger interval.
|
SOCKET_RECEIVE_BUFFER_SIZE
Sets a hint to the size of the underlying buffers for incoming network I/O.
|
SOCKET_REUSE_ADDRESS
Whether or not to allow address reuse.
|
SOCKET_SEND_BUFFER_SIZE
Sets a hint to the size of the underlying buffers for outgoing network I/O.
|
SOCKET_TCP_NODELAY
Whether or not to disable the Nagle algorithm.
|
SPECULATIVE_EXECUTION_DELAY
The delay between each execution.
|
SPECULATIVE_EXECUTION_MAX
The maximum number of executions.
|
SPECULATIVE_EXECUTION_POLICY |
SPECULATIVE_EXECUTION_POLICY_CLASS
The class of the speculative execution policy.
|
SSL_CIPHER_SUITES
The cipher suites to enable when creating an SSLEngine for a connection.
|
SSL_ENGINE_FACTORY_CLASS
The class of the SSL Engine Factory.
|
SSL_HOSTNAME_VALIDATION
Whether or not to require validation that the hostname of the server certificate's common name
matches the hostname of the server being connected to.
|
SSL_KEYSTORE_PASSWORD
The keystore password.
|
SSL_KEYSTORE_PATH
The location of the keystore file.
|
SSL_KEYSTORE_RELOAD_INTERVAL
The duration between attempts to reload the keystore.
|
SSL_TRUSTSTORE_PASSWORD
The truststore password.
|
SSL_TRUSTSTORE_PATH
The location of the truststore file.
|
TIMESTAMP_GENERATOR_CLASS
The class of the generator that assigns a microsecond timestamp to each request.
|
TIMESTAMP_GENERATOR_DRIFT_WARNING_INTERVAL
How often the warning will be logged if timestamps keep drifting above the threshold.
|
TIMESTAMP_GENERATOR_DRIFT_WARNING_THRESHOLD
How far in the future timestamps are allowed to drift before the warning is logged.
|
TIMESTAMP_GENERATOR_FORCE_JAVA_CLOCK
Whether to force the driver to use Java's millisecond-precision system clock.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPath()
The option's path.
|
static DefaultDriverOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultDriverOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultDriverOption CONTACT_POINTS
public static final DefaultDriverOption SESSION_NAME
Value-type: String
public static final DefaultDriverOption SESSION_KEYSPACE
Value-type: String
public static final DefaultDriverOption CONFIG_RELOAD_INTERVAL
Value-type: Duration
public static final DefaultDriverOption REQUEST_TIMEOUT
Value-type: Duration
public static final DefaultDriverOption REQUEST_CONSISTENCY
Value-Type: String
public static final DefaultDriverOption REQUEST_PAGE_SIZE
Value-Type: int
public static final DefaultDriverOption REQUEST_SERIAL_CONSISTENCY
Value-type: String
public static final DefaultDriverOption REQUEST_DEFAULT_IDEMPOTENCE
Value-type: boolean
public static final DefaultDriverOption LOAD_BALANCING_POLICY
public static final DefaultDriverOption LOAD_BALANCING_POLICY_CLASS
Value-type: String
public static final DefaultDriverOption LOAD_BALANCING_LOCAL_DATACENTER
Value-type: String
public static final DefaultDriverOption LOAD_BALANCING_LOCAL_RACK
Value-type: String
@Deprecated public static final DefaultDriverOption LOAD_BALANCING_FILTER_CLASS
LOAD_BALANCING_DISTANCE_EVALUATOR_CLASS instead.Value-Type: String
public static final DefaultDriverOption CONNECTION_INIT_QUERY_TIMEOUT
Value-type: Duration
public static final DefaultDriverOption CONNECTION_SET_KEYSPACE_TIMEOUT
Value-type: Duration
public static final DefaultDriverOption CONNECTION_MAX_REQUESTS
Value-type: int
public static final DefaultDriverOption CONNECTION_MAX_ORPHAN_REQUESTS
Value-type: int
public static final DefaultDriverOption CONNECTION_WARN_INIT_ERROR
Value-type: boolean
public static final DefaultDriverOption CONNECTION_POOL_LOCAL_SIZE
Value-type: int
public static final DefaultDriverOption CONNECTION_POOL_REMOTE_SIZE
Value-type: int
public static final DefaultDriverOption RECONNECT_ON_INIT
Value-type: boolean
public static final DefaultDriverOption RECONNECTION_POLICY_CLASS
Value-type: String
public static final DefaultDriverOption RECONNECTION_BASE_DELAY
Value-type: Duration
public static final DefaultDriverOption RECONNECTION_MAX_DELAY
Value-type: Duration
public static final DefaultDriverOption RETRY_POLICY
public static final DefaultDriverOption RETRY_POLICY_CLASS
Value-type: String
public static final DefaultDriverOption SPECULATIVE_EXECUTION_POLICY
public static final DefaultDriverOption SPECULATIVE_EXECUTION_POLICY_CLASS
Value-type: String
public static final DefaultDriverOption SPECULATIVE_EXECUTION_MAX
Value-type: int
public static final DefaultDriverOption SPECULATIVE_EXECUTION_DELAY
Value-type: Duration
public static final DefaultDriverOption AUTH_PROVIDER_CLASS
Value-type: String
public static final DefaultDriverOption AUTH_PROVIDER_USER_NAME
Value-type: String
public static final DefaultDriverOption AUTH_PROVIDER_PASSWORD
Value-type: String
public static final DefaultDriverOption SSL_ENGINE_FACTORY_CLASS
Value-type: String
public static final DefaultDriverOption SSL_CIPHER_SUITES
public static final DefaultDriverOption SSL_HOSTNAME_VALIDATION
Value-type: boolean
public static final DefaultDriverOption SSL_KEYSTORE_PATH
Value-type: String
public static final DefaultDriverOption SSL_KEYSTORE_PASSWORD
Value-type: String
public static final DefaultDriverOption SSL_TRUSTSTORE_PATH
Value-type: String
public static final DefaultDriverOption SSL_TRUSTSTORE_PASSWORD
Value-type: String
public static final DefaultDriverOption TIMESTAMP_GENERATOR_CLASS
Value-type: String
public static final DefaultDriverOption TIMESTAMP_GENERATOR_FORCE_JAVA_CLOCK
Value-type: boolean
public static final DefaultDriverOption TIMESTAMP_GENERATOR_DRIFT_WARNING_THRESHOLD
Value-type: Duration
public static final DefaultDriverOption TIMESTAMP_GENERATOR_DRIFT_WARNING_INTERVAL
Value-type: Duration
@Deprecated public static final DefaultDriverOption REQUEST_TRACKER_CLASS
REQUEST_TRACKER_CLASSES instead.Value-type: String
public static final DefaultDriverOption REQUEST_LOGGER_SUCCESS_ENABLED
Value-type: boolean
public static final DefaultDriverOption REQUEST_LOGGER_SLOW_THRESHOLD
Value-type: Duration
public static final DefaultDriverOption REQUEST_LOGGER_SLOW_ENABLED
Value-type: boolean
public static final DefaultDriverOption REQUEST_LOGGER_ERROR_ENABLED
Value-type: boolean
public static final DefaultDriverOption REQUEST_LOGGER_MAX_QUERY_LENGTH
Value-type: int
public static final DefaultDriverOption REQUEST_LOGGER_VALUES
Value-type: boolean
public static final DefaultDriverOption REQUEST_LOGGER_MAX_VALUE_LENGTH
Value-type: int
public static final DefaultDriverOption REQUEST_LOGGER_MAX_VALUES
Value-type: int
public static final DefaultDriverOption REQUEST_LOGGER_STACK_TRACES
Value-type: boolean
public static final DefaultDriverOption REQUEST_THROTTLER_CLASS
Value-type: String
public static final DefaultDriverOption REQUEST_THROTTLER_MAX_CONCURRENT_REQUESTS
Value-type: int
public static final DefaultDriverOption REQUEST_THROTTLER_MAX_REQUESTS_PER_SECOND
Value-type: int
public static final DefaultDriverOption REQUEST_THROTTLER_MAX_QUEUE_SIZE
Value-type: int
public static final DefaultDriverOption REQUEST_THROTTLER_DRAIN_INTERVAL
Value-type: Duration
@Deprecated public static final DefaultDriverOption METADATA_NODE_STATE_LISTENER_CLASS
METADATA_NODE_STATE_LISTENER_CLASSES instead.Value-type: String
@Deprecated public static final DefaultDriverOption METADATA_SCHEMA_CHANGE_LISTENER_CLASS
METADATA_SCHEMA_CHANGE_LISTENER_CLASSES instead.Value-type: String
public static final DefaultDriverOption ADDRESS_TRANSLATOR_CLASS
Value-type: String
public static final DefaultDriverOption PROTOCOL_VERSION
Value-type: String
public static final DefaultDriverOption PROTOCOL_COMPRESSION
Value-type: String
public static final DefaultDriverOption PROTOCOL_MAX_FRAME_LENGTH
Value-type: long
public static final DefaultDriverOption REQUEST_WARN_IF_SET_KEYSPACE
Value-type: boolean
public static final DefaultDriverOption REQUEST_TRACE_ATTEMPTS
Value-type: int
public static final DefaultDriverOption REQUEST_TRACE_INTERVAL
Value-type: Duration
public static final DefaultDriverOption REQUEST_TRACE_CONSISTENCY
Value-type: String
public static final DefaultDriverOption METRICS_SESSION_ENABLED
public static final DefaultDriverOption METRICS_NODE_ENABLED
public static final DefaultDriverOption METRICS_SESSION_CQL_REQUESTS_HIGHEST
Value-type: Duration
public static final DefaultDriverOption METRICS_SESSION_CQL_REQUESTS_DIGITS
Value-type: int
public static final DefaultDriverOption METRICS_SESSION_CQL_REQUESTS_INTERVAL
Value-type: Duration
public static final DefaultDriverOption METRICS_SESSION_THROTTLING_HIGHEST
Value-type: Duration
public static final DefaultDriverOption METRICS_SESSION_THROTTLING_DIGITS
Value-type: int
public static final DefaultDriverOption METRICS_SESSION_THROTTLING_INTERVAL
Value-type: Duration
public static final DefaultDriverOption METRICS_NODE_CQL_MESSAGES_HIGHEST
Value-type: Duration
public static final DefaultDriverOption METRICS_NODE_CQL_MESSAGES_DIGITS
Value-type: int
public static final DefaultDriverOption METRICS_NODE_CQL_MESSAGES_INTERVAL
Value-type: Duration
public static final DefaultDriverOption SOCKET_TCP_NODELAY
Value-type: boolean
public static final DefaultDriverOption SOCKET_KEEP_ALIVE
Value-type: boolean
public static final DefaultDriverOption SOCKET_REUSE_ADDRESS
Value-type: boolean
public static final DefaultDriverOption SOCKET_LINGER_INTERVAL
Value-type: int
public static final DefaultDriverOption SOCKET_RECEIVE_BUFFER_SIZE
Value-type: int
public static final DefaultDriverOption SOCKET_SEND_BUFFER_SIZE
Value-type: int
public static final DefaultDriverOption HEARTBEAT_INTERVAL
Value-type: Duration
public static final DefaultDriverOption HEARTBEAT_TIMEOUT
Value-type: Duration
public static final DefaultDriverOption METADATA_ALLOW_ZERO_TOKEN_PEERS
Value-type: boolean
public static final DefaultDriverOption METADATA_TOPOLOGY_WINDOW
Value-type: Duration
public static final DefaultDriverOption METADATA_TOPOLOGY_MAX_EVENTS
Value-type: int
public static final DefaultDriverOption METADATA_SCHEMA_ENABLED
Value-type: boolean
public static final DefaultDriverOption METADATA_SCHEMA_REQUEST_TIMEOUT
Value-type: Duration
public static final DefaultDriverOption METADATA_SCHEMA_REQUEST_PAGE_SIZE
Value-type: int
public static final DefaultDriverOption METADATA_SCHEMA_REFRESHED_KEYSPACES
public static final DefaultDriverOption METADATA_SCHEMA_WINDOW
Value-type: Duration
public static final DefaultDriverOption METADATA_SCHEMA_MAX_EVENTS
Value-type: int
public static final DefaultDriverOption METADATA_TOKEN_MAP_ENABLED
Value-type: boolean
public static final DefaultDriverOption CONTROL_CONNECTION_TIMEOUT
Value-type: Duration
public static final DefaultDriverOption CONTROL_CONNECTION_AGREEMENT_INTERVAL
Value-type: Duration
public static final DefaultDriverOption CONTROL_CONNECTION_AGREEMENT_TIMEOUT
Value-type: Duration
public static final DefaultDriverOption CONTROL_CONNECTION_AGREEMENT_WARN
Value-type: boolean
public static final DefaultDriverOption CONTROL_CONNECTION_RECONNECT_CONTACT_POINTS
Value-type: boolean
public static final DefaultDriverOption PREPARE_ON_ALL_NODES
Value-type: boolean
public static final DefaultDriverOption PREPARE_SKIP_CQL4_METADATA_RESOLVE_METHOD
When this occurs, the client's metadata can become outdated, leading to various deserialization errors.
To mitigate this, the driver can disable the `skip metadata` flag, ensuring the server includes metadata with every bound statement RESULT query response.
This setting determines how the driver handles the `skip metadata` flag for CQL 4 prepared statements: - **"smart"** (default) – Disables the flag only for wildcard selects (`SELECT * FROM`) and queries that return UDTs (including UDT collections and maps containing UDTs). - **"enabled"** – Enables the `skip metadata` flag, preventing metadata from being sent. - **"disabled"** – Disables the `skip metadata` flag, ensuring metadata is included in every RESULT frame.
Sending metadata reduces performance on both the driver and server while increasing traffic. If you need to use UDTs or wildcard selects, you must either accept the performance impact or ensure: 1. No schema alterations are performed on tables or UDTs in use. 2. After any schema change, all relevant prepared statements are re-prepared.
Value-type: string
public static final DefaultDriverOption REPREPARE_ENABLED
Value-type: boolean
public static final DefaultDriverOption REPREPARE_CHECK_SYSTEM_TABLE
Value-type: boolean
public static final DefaultDriverOption REPREPARE_MAX_STATEMENTS
Value-type: int
public static final DefaultDriverOption REPREPARE_MAX_PARALLELISM
Value-type: int
public static final DefaultDriverOption REPREPARE_TIMEOUT
Value-type: Duration
public static final DefaultDriverOption NETTY_IO_SIZE
Value-type: int
public static final DefaultDriverOption NETTY_IO_SHUTDOWN_QUIET_PERIOD
Value-type: int
public static final DefaultDriverOption NETTY_IO_SHUTDOWN_TIMEOUT
Value-type: int
public static final DefaultDriverOption NETTY_IO_SHUTDOWN_UNIT
Value-type: String
public static final DefaultDriverOption NETTY_ADMIN_SIZE
Value-type: int
public static final DefaultDriverOption NETTY_ADMIN_SHUTDOWN_QUIET_PERIOD
Value-type: int
public static final DefaultDriverOption NETTY_ADMIN_SHUTDOWN_TIMEOUT
Value-type: String
public static final DefaultDriverOption NETTY_ADMIN_SHUTDOWN_UNIT
Value-type: String
@Deprecated public static final DefaultDriverOption COALESCER_MAX_RUNS
public static final DefaultDriverOption COALESCER_INTERVAL
Value-type: Duration
public static final DefaultDriverOption RESOLVE_CONTACT_POINTS
Value-type: boolean
public static final DefaultDriverOption NETTY_TIMER_TICK_DURATION
Value-type: Duration
public static final DefaultDriverOption NETTY_TIMER_TICKS_PER_WHEEL
Value-type: int
public static final DefaultDriverOption REQUEST_LOG_WARNINGS
Value-type: boolean
public static final DefaultDriverOption NETTY_DAEMON
Value-type: boolean
public static final DefaultDriverOption CLOUD_SECURE_CONNECT_BUNDLE
Value-type: String
public static final DefaultDriverOption LOAD_BALANCING_POLICY_SLOW_AVOIDANCE
Value-type: boolean
public static final DefaultDriverOption CONNECTION_CONNECT_TIMEOUT
Value-type: Duration
public static final DefaultDriverOption SESSION_LEAK_THRESHOLD
Value-type: int
public static final DefaultDriverOption METRICS_NODE_EXPIRE_AFTER
Value-type: Duration
public static final DefaultDriverOption METRICS_FACTORY_CLASS
Value-type: String
public static final DefaultDriverOption LOAD_BALANCING_DC_FAILOVER_MAX_NODES_PER_REMOTE_DC
Value-Type: int
public static final DefaultDriverOption LOAD_BALANCING_DC_FAILOVER_ALLOW_FOR_LOCAL_CONSISTENCY_LEVELS
Value-Type: boolean
public static final DefaultDriverOption METRICS_ID_GENERATOR_CLASS
MetricIdGenerator implementation.
Value-type: String
public static final DefaultDriverOption METRICS_ID_GENERATOR_PREFIX
Value-type: String
public static final DefaultDriverOption LOAD_BALANCING_DISTANCE_EVALUATOR_CLASS
NodeDistanceEvaluator.
Value-Type: String
public static final DefaultDriverOption METRICS_SESSION_CQL_REQUESTS_LOWEST
Value-type: Duration
public static final DefaultDriverOption METRICS_SESSION_CQL_REQUESTS_SLO
Value-type: List of Duration
public static final DefaultDriverOption METRICS_SESSION_THROTTLING_LOWEST
Value-type: Duration
public static final DefaultDriverOption METRICS_SESSION_THROTTLING_SLO
Value-type: List of Duration
public static final DefaultDriverOption METRICS_NODE_CQL_MESSAGES_LOWEST
Value-type: Duration
public static final DefaultDriverOption METRICS_NODE_CQL_MESSAGES_SLO
Value-type: List of Duration
public static final DefaultDriverOption PREPARED_CACHE_WEAK_VALUES
Value-type: boolean
public static final DefaultDriverOption REQUEST_TRACKER_CLASSES
Value-type: List of String
public static final DefaultDriverOption METADATA_NODE_STATE_LISTENER_CLASSES
Value-type: List of String
public static final DefaultDriverOption METADATA_SCHEMA_CHANGE_LISTENER_CLASSES
Value-type: List of String
public static final DefaultDriverOption METRICS_SESSION_CQL_REQUESTS_PUBLISH_PERCENTILES
public static final DefaultDriverOption METRICS_NODE_CQL_MESSAGES_PUBLISH_PERCENTILES
public static final DefaultDriverOption METRICS_SESSION_THROTTLING_PUBLISH_PERCENTILES
public static final DefaultDriverOption METRICS_GENERATE_AGGREGABLE_HISTOGRAMS
Value-type: boolean
public static final DefaultDriverOption SSL_KEYSTORE_RELOAD_INTERVAL
Value-type: Duration
public static final DefaultDriverOption LOAD_BALANCING_DC_FAILOVER_PREFERRED_REMOTE_DCS
public static DefaultDriverOption[] values()
for (DefaultDriverOption c : DefaultDriverOption.values()) System.out.println(c);
public static DefaultDriverOption valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@NonNull public String getPath()
DriverOptionmetadata.schema.enabled.getPath in interface DriverOptionCopyright © 2017–2025. All rights reserved.