QueryOptionsSetConsistencyLevel Method |
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.
Namespace: CassandraAssembly: Cassandra (in Cassandra.dll) Version: 3.4.0
Syntax public QueryOptions SetConsistencyLevel(
ConsistencyLevel consistencyLevel
)
Parameters
- consistencyLevel
- Type: CassandraConsistencyLevel
the new consistency level to set as default.
Return Value
Type:
QueryOptionsthis QueryOptions instance
See Also