Click or drag to resize
GraphStatementSetConsistencyLevel Method
Sets the consistency level to use for this statement.

This setting will affect the general consistency when executing the gremlin query. However executing a gremlin query on the server side is going to involve the execution of CQL queries to the persistence engine that is Cassandra. Those queries can be both reads and writes and both will have a settable consistency level. Setting only this property will indicate to the server to use this consistency level for both reads and writes in Cassandra. Read or write consistency level can be set separately with respectively SetGraphReadConsistencyLevel(ConsistencyLevel) and SetGraphWriteConsistencyLevel(ConsistencyLevel) will override the consistency set here.

Namespace: Dse.Graph
Assembly: Dse (in Dse.dll) Version: 1.0.0.0
Syntax
C#
public IGraphStatement SetConsistencyLevel(
	ConsistencyLevel consistency
)

Parameters

consistency
Type: CassandraConsistencyLevel

Return Value

Type: IGraphStatement

Implements

IGraphStatementSetConsistencyLevel(ConsistencyLevel)
See Also