Package com.gpudb.protocol
Class QueryGraphRequest.Options
- java.lang.Object
-
- com.gpudb.protocol.QueryGraphRequest.Options
-
- Enclosing class:
- QueryGraphRequest
public static final class QueryGraphRequest.Options extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringAND_LABELSIf set toTRUE, the result of the query has entities that satisfy all of the target labels, instead of any.static StringFALSEstatic StringFIND_COMMON_LABELSIf 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.static StringFORCE_UNDIRECTEDIf set toTRUE, all inbound edges and outbound edges relative to the node will be returned.static StringLIMITWhen specified (>0), limits the number of query results.static StringOUTPUT_CHARN_LENGTHWhen specified (>0 and <=256), limits the number of char length on the output tables for string based nodes.static StringOUTPUT_WKT_PATHIf true then concatenated wkt line segments will be added as the WKT column of the adjacency table.static StringSERVER_IDIndicates which graph server(s) to send the request to.static StringTRUE
-
-
-
Field Detail
-
FORCE_UNDIRECTED
public static final String FORCE_UNDIRECTED
If set toTRUE, all inbound edges and outbound edges relative to the node will be returned. If set toFALSE, only outbound edges relative to the node will be returned. This parameter is only applicable if the queried graphgraphNameis directed and when querying nodes. Consult Directed Graphs for more details. Supported values: The default value isFALSE.- See Also:
- Constant Field Values
-
TRUE
public static final String TRUE
- See Also:
- Constant Field Values
-
FALSE
public static final String FALSE
- See Also:
- Constant Field Values
-
LIMIT
public static final String LIMIT
When specified (>0), limits the number of query results. The size of the nodes table will be limited by theLIMITvalue. The default value is '0'.- See Also:
- Constant Field Values
-
OUTPUT_WKT_PATH
public static final String OUTPUT_WKT_PATH
If true then concatenated wkt line segments will be added as the WKT column of the adjacency table. Supported values: The default value isFALSE.- See Also:
- Constant Field Values
-
AND_LABELS
public static final String AND_LABELS
If set toTRUE, the result of the query has entities that satisfy all of the target labels, instead of any. Supported values: The default value isFALSE.- See Also:
- Constant Field Values
-
SERVER_ID
public static final String SERVER_ID
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.- See Also:
- Constant Field Values
-
OUTPUT_CHARN_LENGTH
public static final String OUTPUT_CHARN_LENGTH
When specified (>0 and <=256), limits the number of char length on the output tables for string based nodes. The default length is 64. The default value is '64'.- See Also:
- Constant Field Values
-
FIND_COMMON_LABELS
public static final String FIND_COMMON_LABELS
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. Supported values: The default value isFALSE.- See Also:
- Constant Field Values
-
-