public class GraphTraversalSource extends Object implements TraversalSource
Modifier and Type | Class and Description |
---|---|
static class |
GraphTraversalSource.Builder |
static class |
GraphTraversalSource.GraphTraversalSourceStub |
public static GraphTraversalSource.Builder standard()
public static GraphTraversalSource.Builder computer()
public static GraphTraversalSource.Builder computer(Class<? extends GraphComputer> graphComputerClass)
public GraphTraversal<Vertex,Vertex> addV(Object... keyValues)
public GraphTraversal<Vertex,Vertex> V(Object... vertexIds)
public GraphTraversal<Edge,Edge> E(Object... edgesIds)
public GraphTraversalSource.GraphTraversalSourceStub withSideEffect(String key, Supplier supplier)
public GraphTraversalSource.GraphTraversalSourceStub withSideEffect(String key, Object object)
public <A> GraphTraversalSource.GraphTraversalSourceStub withSack(Supplier<A> initialValue, UnaryOperator<A> splitOperator)
public <A> GraphTraversalSource.GraphTraversalSourceStub withSack(Supplier<A> initialValue)
public <A> GraphTraversalSource.GraphTraversalSourceStub withSack(A initialValue, UnaryOperator<A> splitOperator)
public <A> GraphTraversalSource.GraphTraversalSourceStub withSack(A initialValue)
public <S> GraphTraversalSource.GraphTraversalSourceStub withPath()
public Transaction tx()
public static GraphTraversalSource.Builder build()
public List<TraversalStrategy> getStrategies()
getStrategies
in interface TraversalSource
public Optional<GraphComputer> getGraphComputer()
getGraphComputer
in interface TraversalSource
public Optional<Graph> getGraph()
getGraph
in interface TraversalSource
public GraphTraversalSource.Builder asBuilder()
asBuilder
in interface TraversalSource
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.