Class WithOptions
java.lang.Object
org.apache.tinkerpop.gremlin.process.traversal.step.util.WithOptions
Configuration options to be passed to the
GraphTraversal.with(String, Object).- Author:
- Daniel Kuppitz (http://gremlin.guru)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic intInclude all tokens.static intInclude ids (affects allElementvalue maps).static final StringConfigures the indexer to be used inIndexStep.static intInclude keys (affects allVertexPropertyvalue maps).static intstatic intIndex items using 2-item lists.static intIndex items using aLinkedHashMap.static final StringThe user-facing key for multilabel configuration used withg.with("multilabel").static intInclude no tokens.static final StringConfigures the query language to be used in a declarative match step.static final StringThe user-facing key for singlelabel override used withg.with("singlelabel").static final StringConfigures the tokens to be included in value maps.static intInclude values (affects allVertexPropertyvalue maps). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
tokens
Configures the tokens to be included in value maps. -
none
public static int noneInclude no tokens. -
ids
public static int idsInclude ids (affects allElementvalue maps). -
labels
public static int labels -
keys
public static int keysInclude keys (affects allVertexPropertyvalue maps). -
values
public static int valuesInclude values (affects allVertexPropertyvalue maps). -
all
public static int allInclude all tokens. -
indexer
Configures the indexer to be used inIndexStep. -
list
public static int listIndex items using 2-item lists. -
map
public static int mapIndex items using aLinkedHashMap. -
queryLanguage
Configures the query language to be used in a declarative match step.- Since:
- 4.0.0
- See Also:
-
MULTILABEL_KEY
The user-facing key for multilabel configuration used withg.with("multilabel"). This option is mutually exclusive withSINGLELABEL_KEY- configuring both on the same traversal source is rejected during traversal strategy verification.- See Also:
-
SINGLELABEL_KEY
The user-facing key for singlelabel override used withg.with("singlelabel"). Forces single-label output in valueMap/elementMap steps. This option is mutually exclusive withMULTILABEL_KEY- configuring both on the same traversal source is rejected during traversal strategy verification.- See Also:
-
-
Constructor Details
-
WithOptions
public WithOptions()
-