SimpleGraphStatement Class |
Namespace: Dse.Graph
public class SimpleGraphStatement : GraphStatement
The SimpleGraphStatement type exposes the following members.
Name | Description | |
---|---|---|
SimpleGraphStatement(String) |
Creates a new instance of SimpleGraphStatement using a query with no parameters.
| |
SimpleGraphStatement(IDictionaryString, Object, String) |
Creates a new instance of SimpleGraphStatement using a query with named parameters.
| |
SimpleGraphStatement(String, Object) |
Creates a new instance of SimpleGraphStatement using a query with named parameters.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
SetConsistencyLevel |
Sets the consistency level to use for this statement.
(Inherited from GraphStatement.)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.
(Inherited from GraphStatement.)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.
(Inherited from GraphStatement.) | |
SetGraphReadConsistencyLevel |
Sets the consistency level used for the graph read query.
(Inherited from GraphStatement.)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.
(Inherited from GraphStatement.) | |
SetGraphSourceAnalytics |
Sets the graph source to the server-defined analytic traversal source ("a") for this statement.
(Inherited from GraphStatement.) | |
SetGraphWriteConsistencyLevel |
Sets the consistency level used for the graph write query.
(Inherited from GraphStatement.)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.
(Inherited from GraphStatement.)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).
(Inherited from GraphStatement.)If a graph name was previously defined on this statement, it will be reset. | |
SetTimestamp |
Sets the timestamp associated with this query.
(Inherited from GraphStatement.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
ConsistencyLevel |
Returns the consistency level to use for this statement.
(Inherited from GraphStatement.) | |
GraphAlias | (Inherited from GraphStatement.) | |
GraphLanguage |
Gets the graph language to use with this statement.
(Inherited from GraphStatement.) | |
GraphName |
Gets the graph name to use with this statement.
(Inherited from GraphStatement.) | |
GraphReadConsistencyLevel |
Gets the consistency level used for read graph queries.
(Inherited from GraphStatement.) | |
GraphSource |
Gets the graph traversal source name to use with this statement.
(Inherited from GraphStatement.) | |
GraphWriteConsistencyLevel |
Gets the consistency level used for write graph queries.
(Inherited from GraphStatement.) | |
IsSystemQuery |
Determines whether this statement is marked as a system query.
(Inherited from GraphStatement.) | |
Query |
The underlying query string
| |
ReadTimeoutMillis |
Gets the ReadTimeout for the statement that, when is different than 0, overrides
ReadTimeoutMillis.
(Inherited from GraphStatement.)Use Infinite to disable timeouts for this Statement. | |
Timestamp |
Gets the default timestamp for this query.
(Inherited from GraphStatement.) | |
Values |
Values object used for parameter substitution in the query string
| |
ValuesDictionary |
Values dictionary used for parameter substitution in the query string
|