Click or drag to resize
QueryOptions Class
Options related to defaults for individual queries.
Inheritance Hierarchy
SystemObject
  CassandraQueryOptions

Namespace: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.0.9 (git 5ca22bb)
Syntax
C#
public class QueryOptions

The QueryOptions type exposes the following members.

Constructors
  NameDescription
Public methodQueryOptions
Initializes a new instance of the QueryOptions class
Top
Methods
  NameDescription
Public methodGetConsistencyLevel
The default consistency level used by queries.
Public methodGetDefaultIdempotence
Public methodGetPageSize
The default page size used by queries.
Public methodGetSerialConsistencyLevel
The default serial consistency level used by queries.
Public methodSetConsistencyLevel
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.
Public methodSetDefaultIdempotence
Sets the default idempotence for all queries.
Public methodSetPageSize
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.
Public methodSetRetryOnTimeout
Determines if the client should retry when it didn't hear back from a host within ReadTimeoutMillis.
Public methodSetSerialConsistencyLevel
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.
Top
Fields
  NameDescription
Public fieldStatic memberDefaultConsistencyLevel
The default consistency level for queries: ConsistencyLevel.LocalOne.
Public fieldStatic memberDefaultPageSize
The default page size for SELECT queries: 5000.
Public fieldStatic memberDefaultRetryOnTimeout
Default value for RetryOnTimeout
Public fieldStatic memberDefaultSerialConsistencyLevel
The default serial consistency level for conditional updates: ConsistencyLevel.Serial.
Top
Properties
  NameDescription
Public propertyRetryOnTimeout
Gets a value that determines if the client should retry when it didn't hear back from a host within ReadTimeoutMillis.
Top
See Also