Class: GraphTraversalSource

GraphTraversalSource(graph, traversalStrategies, bytecodeopt, graphTraversalSourceClassopt, graphTraversalClassopt)

Represents the primary DSL of the Gremlin traversal machine.

Constructor

new GraphTraversalSource(graph, traversalStrategies, bytecodeopt, graphTraversalSourceClassopt, graphTraversalClassopt)

Creates a new instance of GraphTraversalSource.
Parameters:
Name Type Attributes Description
graph Graph
traversalStrategies TraversalStrategies
bytecode Bytecode <optional>
graphTraversalSourceClass function <optional>
Optional GraphTraversalSource constructor.
graphTraversalClass function <optional>
Optional GraphTraversal constructor.
Source:

Methods

addE(…args) → {GraphTraversal}

addE GraphTraversalSource step method.
Parameters:
Name Type Attributes Description
args Object <repeatable>
Source:
Returns:
Type
GraphTraversal

addV(…args) → {GraphTraversal}

addV GraphTraversalSource step method.
Parameters:
Name Type Attributes Description
args Object <repeatable>
Source:
Returns:
Type
GraphTraversal

E(…args) → {GraphTraversal}

E GraphTraversalSource step method.
Parameters:
Name Type Attributes Description
args Object <repeatable>
Source:
Returns:
Type
GraphTraversal

inject(…args) → {GraphTraversal}

inject GraphTraversalSource step method.
Parameters:
Name Type Attributes Description
args Object <repeatable>
Source:
Returns:
Type
GraphTraversal

toString() → {string}

Returns the string representation of the GraphTraversalSource.
Source:
Returns:
Type
string

V(…args) → {GraphTraversal}

V GraphTraversalSource step method.
Parameters:
Name Type Attributes Description
args Object <repeatable>
Source:
Returns:
Type
GraphTraversal

withBulk(…args) → {GraphTraversalSource}

Graph Traversal Source withBulk method.
Parameters:
Name Type Attributes Description
args Object <repeatable>
Source:
Returns:
Type
GraphTraversalSource

withComputer(graphComputer, workers, result, persist, vertices, edges, configuration) → {GraphTraversalSource}

Parameters:
Name Type Description
graphComputer
workers
result
persist
vertices
edges
configuration
Source:
Returns:
Type
GraphTraversalSource

withoutStrategies(…args) → {GraphTraversalSource}

Graph Traversal Source withoutStrategies method.
Parameters:
Name Type Attributes Description
args Object <repeatable>
Source:
Returns:
Type
GraphTraversalSource

withPath(…args) → {GraphTraversalSource}

Graph Traversal Source withPath method.
Parameters:
Name Type Attributes Description
args Object <repeatable>
Source:
Returns:
Type
GraphTraversalSource

withRemote(remoteConnection) → {GraphTraversalSource}

Parameters:
Name Type Description
remoteConnection
Source:
Returns:
Type
GraphTraversalSource

withSack(…args) → {GraphTraversalSource}

Graph Traversal Source withSack method.
Parameters:
Name Type Attributes Description
args Object <repeatable>
Source:
Returns:
Type
GraphTraversalSource

withSideEffect(…args) → {GraphTraversalSource}

Graph Traversal Source withSideEffect method.
Parameters:
Name Type Attributes Description
args Object <repeatable>
Source:
Returns:
Type
GraphTraversalSource

withStrategies(…args) → {GraphTraversalSource}

Graph Traversal Source withStrategies method.
Parameters:
Name Type Attributes Description
args Object <repeatable>
Source:
Returns:
Type
GraphTraversalSource