Skip to main content
pub struct QueryGraphRequestOptions 
    pub force_undirected: String,
    pub limit: String,
    pub output_wkt_path: String,
    pub and_labels: String,
    pub server_id: String,
    pub output_charn_length: String,
    pub find_common_labels: String,

Optional parameters for the /query/graph endpoint.

Default::default() is the empty set: only options set explicitly are sent, and anything left empty falls back to the server’s own default.

Fields

force_undirected: String

If set to true, all inbound edges and outbound edges relative to the node will be returned. If set to false, only outbound edges relative to the node will be returned. This parameter is only applicable if the queried graph graph_name is directed and when querying nodes. Consult Directed Graphs for more details. Server default: false.

limit: String

When specified (>0), limits the number of query results. The size of the nodes table will be limited by the limit value. Server default: 0.

output_wkt_path: String

If true then concatenated wkt line segments will be added as the WKT column of the adjacency table. Server default: false.

and_labels: String

If set to true, the result of the query has entities that satisfy all of the target labels, instead of any. Server default: false.

server_id: String

Indicates which graph server(s) to send the request to. Default is to send to the server, amongst those containing the corresponding graph, that has the most computational bandwidth.

output_charn_length: String

When specified (>0 and <=256), limits the number of char length on the output tables for string based nodes. The default length is 64. Server default: 64.

find_common_labels: String

If set to true, for many-to-many queries or multi-level traversals, it lists the common labels between the source and target nodes and edge labels in each path. Otherwise (zero rings), it’ll list all labels of the node(s) queried. Server default: false.

Implementations

Source

pub fn to_map(&self) -> HashMap<String, String>

Converts the set (non-empty) options into the wire-format string map.

Trait Implementations

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source

fn fmt(&self, f: &mut Formatter<’_>) -> Result

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more