struct DseGraphOptions
Graph options for executing graph queries.
Functions
DseGraphOptions * dse_graph_options_new
( )Creates a new instance of graph options.
Creates a new instance of graph options from an existing object.
Frees a graph options instance.
Set the graph language to be used in graph queries.
Default: gremlin-groovy
CassError dse_graph_options_set_graph_language_n
(DseGraphOptions * options, const char * language, size_t language_length )
Same as DseGraphOptions::dse_graph_options_set_graph_language, but with lengths for string parameters.
Set the graph traversal source name to be used in graph queries.
Default: default
CassError dse_graph_options_set_graph_source_n
(DseGraphOptions * options, const char * source, size_t source_length )
Same as DseGraphOptions::dse_graph_options_set_graph_source, but with lengths for string parameters.
Set the graph name to be used in graph queries. This is optional and the name is left unset if this function is not called.
CassError dse_graph_options_set_graph_name_n
(DseGraphOptions * options, const char * name, size_t name_length )
Same as DseGraphOptions::dse_graph_options_set_graph_name, but with lengths for string parameters.
CassError dse_graph_options_set_read_consistency
(DseGraphOptions * options, CassConsistency consistency )
Set the read consistency used by graph queries.
CassError dse_graph_options_set_write_consistency
(DseGraphOptions * options, CassConsistency consistency )
Set the write consistency used by graph queries.
CassError dse_graph_options_set_request_timeout
(DseGraphOptions * options, cass_int64_t timeout_ms )
Set the request timeout used by graph queries. Only use this if you want graph queries to wait less than the server’s default timeout (defined in “dse.yaml”)
Default: 0 (wait for the coordinator to response or timeout)