class Builder
A builder for fluent configuration of graph options;
Methods
Graph\Options build
( )Constructs a graph options object that can be used to construct a cluster with graph support.
Graph\Options\Builder withGraphLanguage
(string $language )
Dse\Set the graph language. Default: “gremlin-groovy”
Graph\Options\Builder withGraphSource
(string $source )
Dse\Set the graph source. This should use the default: “g” unless running analytics (OLAP) query then it should use “a”.
Graph\Options\Builder withGraphName
(string $name )
Dse\Set the graph name. This is required unless a per query graph name is used.
Graph\Options\Builder withReadConsistency
(int $consistency )
Dse\Set the read consistency of graph queries. Default: Dse::CONSISTENCY_ONE
Graph\Options\Builder withWriteConsistency
(int $consistency )
Dse\Set the write consistency of graph queries. Default: Dse::CONSISTENCY_QUORUM
Graph\Options\Builder withRequestTimeout
(double $request_timeout )
Dse\Set the request time of graph queries in seconds. Default: 0 (no timeout)