IStatementSetConsistencyLevel Method |
Sets the consistency level for the query.
The default consistency level,
if this method is not called, is ConsistencyLevel.ONE.
Namespace: CassandraAssembly: Cassandra (in Cassandra.dll) Version: 3.0.9 (git 5ca22bb)
Syntax IStatement SetConsistencyLevel(
Nullable<ConsistencyLevel> consistency
)
Parameters
- consistency
- Type: SystemNullableConsistencyLevel
the consistency level to set.
Return Value
Type:
IStatementthis
IStatement object.
See Also