class Dse::Graph::Options
Options for DSE Graph queries
Inherits
Object
Methods
new
(options = {})Create an Options object.
graph_name
read or writeReturns name of the targeted graph; required unless the statement is a system query.
graph_source
read or writeReturns graph traversal source (default “g”)
graph_language
read or writeReturns language used in the graph statement (default “gremlin-groovy”)
graph_read_consistency
read or writeReturns read consistency level for graph statement. Overrides the standard statement consistency level. Defaults to ONE in the server, but the default may be configured differently.
graph_write_consistency
read or writeReturns write consistency level for graph statement. Overrides the standard statement consistency level. Defaults to QUORUM in the server, but the default may be configured differently.
timeout
read or writeReturns the timeout for graph requests
set
(key, value)Set an option in this Dse::Graph::Options
object. This is primarily used to set “expert” options that
are not part of the public api and thus may change over time.
delete
(key)Delete an option from this Dse::Graph::Options
object.
merge
(other)Merge another Dse::Graph::Options
object with this one to produce a new merged Dse::Graph::Options
object.
The “other” object’s values take precedence over this one.
clear
Clear the options within this Dse::Graph::Options
object.
analytics?
Returns whether or not this options object is configured for the analytics graph source.