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