QueryOptions Class |
Namespace: Cassandra
public class QueryOptions
The QueryOptions type exposes the following members.
Name | Description | |
---|---|---|
QueryOptions | Initializes a new instance of the QueryOptions class |
Name | Description | |
---|---|---|
GetConsistencyLevel |
The default consistency level used by queries.
| |
GetDefaultIdempotence | ||
GetPageSize |
The default page size used by queries.
| |
GetSerialConsistencyLevel |
The default serial consistency level used by queries.
| |
SetConsistencyLevel |
Sets the default consistency level to use for queries.
The consistency level set through this method will be use for queries
that don't explicitely have a consistency level.
| |
SetDefaultIdempotence |
Sets the default idempotence for all queries.
| |
SetPageSize |
Sets the default page size to use for SELECT queries.
The page size set through this method will be use for queries
that don't explicitely have a page size.
| |
SetRetryOnTimeout |
Determines if the client should retry when it didn't hear back from a host within ReadTimeoutMillis.
| |
SetSerialConsistencyLevel |
Sets the default serial consistency level to use for queries.
The serial consistency level set through this method will be use for queries
that don't explicitely have a serial consistency level.
|
Name | Description | |
---|---|---|
DefaultConsistencyLevel |
The default consistency level for queries: ConsistencyLevel.LocalOne.
| |
DefaultPageSize |
The default page size for SELECT queries: 5000.
| |
DefaultRetryOnTimeout |
Default value for RetryOnTimeout | |
DefaultSerialConsistencyLevel |
The default serial consistency level for conditional updates: ConsistencyLevel.Serial.
|
Name | Description | |
---|---|---|
RetryOnTimeout |
Gets a value that determines if the client should retry when it didn't hear back from a host within ReadTimeoutMillis.
|