class Dse::Graph::Statement
Encapsulates a graph statement, parameters, options, and idempotency. This is primarily useful for re-issuing the same statement multiple times the same way.
Inherits
Object
Extends
Forwardable
Includes
Cassandra::Statement
Methods
new
(statement, parameters = nil, options = nil, idempotent = false)Returns a new instance of Statement
graph_name
Returns name of the targeted graph; required unless the statement is a system query.
graph_source
Returns graph traversal source (default “g”)
graph_language
Returns language used in the graph statement (default “gremlin-groovy”)
graph_read_consistency
Returns 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
Returns 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.
statement
Returns graph statement string
parameters
Returns parameters to the statement