IGraphStatement Methods |
The IGraphStatement type exposes the following members.
Name | Description | |
---|---|---|
SetConsistencyLevel |
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. | |
SetGraphLanguage |
Sets the graph language to use with this statement.
This property is not required; if it is not set, the default Language will be used when executing the statement. | |
SetGraphName |
Sets the graph name to use in graph queries.
If you don't call this method, it is left unset.
| |
SetGraphReadConsistencyLevel |
Sets the consistency level used for the graph read query.
This setting will override the consistency level set with SetConsistencyLevel(ConsistencyLevel) only for the READ part of the graph query. | |
SetGraphSource |
Sets the graph traversal source name to use in graph queries.
If you don't call this method, it defaults to Source.
| |
SetGraphSourceAnalytics |
Sets the graph source to the server-defined analytic traversal source ("a") for this statement.
| |
SetGraphWriteConsistencyLevel |
Sets the consistency level used for the graph write query.
This setting will override the consistency level set with SetConsistencyLevel(ConsistencyLevel) only for the WRITE part of the graph query. | |
SetReadTimeoutMillis |
Sets the per-host read timeout in milliseconds for this statement.
Use Infinite to disable timeouts for this Statement. Use zero to use the default value specified in the ReadTimeoutMillis. | |
SetSystemQuery |
Forces this statement to use no graph name, even if a default graph name was defined
with SetName(String).
If a graph name was previously defined on this statement, it will be reset. | |
SetTimestamp |
Sets the timestamp associated with this query.
| |
ToIStatement |
Returns the IStatement representation of the Graph statement.
|