Click or drag to resize
IGraphStatementSetConsistencyLevel 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: 2.2.0
Syntax
C#
IGraphStatement SetConsistencyLevel(
	ConsistencyLevel consistency
)

Parameters

consistency
Type: DseConsistencyLevel

Return Value

Type: IGraphStatement
See Also