Execute a graph statement asynchronously.
-
Parameters:
-
| Name |
Type |
Details |
| graph_statement |
(String or Dse::Graph::Statement) |
a graph statement
|
| options |
Hash |
(defaults to: {})
a customizable set of options. All of the options supported by
Cassandra::Session#execute_async are valid here. However, there are some extras, noted below.
|
- Keys for options:
-
| Key |
Type |
Details |
| :arguments |
Hash |
Parameters for the graph statement.
NOTE: Unlike #execute and #execute_async, this must be a hash of <parameter-name,value>.
|
| :graph_name |
String |
name of graph to use in graph statements
|
| :graph_source |
String |
graph traversal source
|
| :graph_language |
String |
language used in graph queries
|
| :graph_read_consistency |
Cassandra::CONSISTENCIES |
read consistency level for graph statements.
Overrides the standard statement consistency level
|
| :graph_write_consistency |
Cassandra::CONSISTENCIES |
write consistency level for graph statements.
Overrides the standard statement consistency level
|
| :execution_profile |
(String or Symbol) |
default:
:default_graph
name of Graph::ExecutionProfile
from which to obtain certain query options.
|
-
Returns:
-
| Type |
Details |
Cassandra::Future<Cassandra::Result> |
|
- See Also:
-