GraphOptions Class |
These options will be used for all graph statements sent to the cluster, unless they have been explicitly overridden at the statement level.
Namespace: Dse.Graph
public class GraphOptions
The GraphOptions type exposes the following members.
Name | Description | |
---|---|---|
GraphOptions |
Creates a new instance of GraphOptions.
|
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.) | |
SetLanguage |
Sets the graph language to use in graph queries.
If you don't call this method, it defaults to DefaultLanguage.
| |
SetName |
Sets the graph name to use in graph queries.
| |
SetReadConsistencyLevel |
Sets the consistency level for the read graph queries.
| |
SetReadTimeoutMillis |
Sets the default per-host read timeout in milliseconds for all graph queries.
When setting a value of less than or equals to zero (Infinite), it will use an infinite timeout. | |
SetSource |
Sets the graph traversal source name to use in graph queries.
If you don't call this method, it defaults to DefaultSource.
| |
SetSourceAnalytics |
Sets the graph source to the server-defined analytic traversal source ('a')
| |
SetWriteConsistencyLevel |
Sets the consistency level for the write graph queries.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
DefaultLanguage |
Default value for graph language.
| |
DefaultReadTimeout |
Default value for read timeout.
| |
DefaultSource |
Default value for graph source.
|
Name | Description | |
---|---|---|
Language |
Gets the graph language to use in graph queries.
| |
Name |
Gets the graph name to use in graph queries.
| |
ReadConsistencyLevel |
Gets the consistency level used for read queries
| |
ReadTimeoutMillis |
Gets the value that overrides the
default per-host read timeout in milliseconds for all graph queries.
Default: Timeout.Infinite (-1). | |
Source |
Gets the graph traversal source name in graph queries.
| |
WriteConsistencyLevel |
Gets the consistency level used for read queries
|