Package | Description |
---|---|
com.datastax.driver.core.schemabuilder |
A CQL3 schema builder.
|
Modifier and Type | Method and Description |
---|---|
static TableOptions.SpeculativeRetryValue |
SchemaBuilder.always()
Create the speculative retry strategy that retries reads of all replicas, to use in a CREATE or
ALTER TABLE statement.
|
static TableOptions.SpeculativeRetryValue |
SchemaBuilder.millisecs(int millisecs)
Create the speculative retry strategy that retries after a given delay, to use in a CREATE or
ALTER TABLE statement.
|
static TableOptions.SpeculativeRetryValue |
SchemaBuilder.noSpeculativeRetry()
Create the speculative retry strategy that never retries reads, to use in a CREATE or ALTER
TABLE statement.
|
static TableOptions.SpeculativeRetryValue |
SchemaBuilder.percentile(int percentile)
Create the speculative retry strategy that retries based on the effect on throughput and
latency, to use in a CREATE or ALTER TABLE statement.
|
Modifier and Type | Method and Description |
---|---|
T |
TableOptions.speculativeRetry(TableOptions.SpeculativeRetryValue speculativeRetry)
To override normal read timeout when read_repair_chance is not 1.0, sending another request to
read, choose one of these values and use the property to create or alter the table:
ALWAYS: Retry reads of all replicas.
|
Copyright © 2012–2023. All rights reserved.