Skip to main content

Class QueryGraphRequest.Options

java.lang.Object
com.gpudb.protocol.QueryGraphRequest.Options
Enclosing class:

public static final class QueryGraphRequest.Options extends Object
A set of string constants for the QueryGraphRequest parameter options.

Additional parameters.

  • Field Details

    • FORCE_UNDIRECTED

      public static final String FORCE_UNDIRECTED
      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 graphName is directed and when querying nodes. Consult Directed Graphs for more details. Supported values:The default value is FALSE.
    • TRUE

      public static final String TRUE
    • FALSE

      public static final String FALSE
    • 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 the LIMIT value. The default value is ‘0’.
    • 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 is FALSE.
    • AND_LABELS

      public static final String AND_LABELS
      If set to TRUE, the result of the query has entities that satisfy all of the target labels, instead of any. Supported values:The default value is FALSE.
    • 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.
    • 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’.
    • 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 is FALSE.