Click or drag to resize
SimpleGraphStatement Methods

The SimpleGraphStatement type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetConsistencyLevel
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.

(Inherited from GraphStatement.)
Public methodSetGraphLanguage
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.

(Inherited from GraphStatement.)
Public methodSetGraphName
Sets the graph name to use in graph queries. If you don't call this method, it is left unset.
(Inherited from GraphStatement.)
Public methodSetGraphReadConsistencyLevel
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.

(Inherited from GraphStatement.)
Public methodSetGraphSource
Sets the graph traversal source name to use in graph queries. If you don't call this method, it defaults to Source.
(Inherited from GraphStatement.)
Public methodSetGraphSourceAnalytics
Sets the graph source to the server-defined analytic traversal source ("a") for this statement.
(Inherited from GraphStatement.)
Public methodSetGraphWriteConsistencyLevel
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.

(Inherited from GraphStatement.)
Public methodSetReadTimeoutMillis
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.

(Inherited from GraphStatement.)
Public methodSetSystemQuery
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.

(Inherited from GraphStatement.)
Public methodSetTimestamp
Sets the timestamp associated with this query.
(Inherited from GraphStatement.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also