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.0.9 (git 5ca22bb)
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