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 <S> GraphTraversal<S,S> inject(S... starts)
@Deprecated public GraphTraversal<Vertex,Vertex> addV(Object... keyValues)
addV()public GraphTraversal<Vertex,Vertex> addV(String label)
public GraphTraversal<Vertex,Vertex> addV()
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(A initialValue)
public <A> GraphTraversalSource.GraphTraversalSourceStub withSack(Supplier<A> initialValue)
public <A> GraphTraversalSource.GraphTraversalSourceStub withSack(Supplier<A> initialValue, UnaryOperator<A> splitOperator)
public <A> GraphTraversalSource.GraphTraversalSourceStub withSack(A initialValue, UnaryOperator<A> splitOperator)
public <A> GraphTraversalSource.GraphTraversalSourceStub withSack(Supplier<A> initialValue, BinaryOperator<A> mergeOperator)
public <A> GraphTraversalSource.GraphTraversalSourceStub withSack(A initialValue, BinaryOperator<A> mergeOperator)
public <A> GraphTraversalSource.GraphTraversalSourceStub withSack(Supplier<A> initialValue, UnaryOperator<A> splitOperator, BinaryOperator<A> mergeOperator)
public <A> GraphTraversalSource.GraphTraversalSourceStub withSack(A initialValue, UnaryOperator<A> splitOperator, BinaryOperator<A> mergeOperator)
public GraphTraversalSource.GraphTraversalSourceStub withBulk(boolean useBulk)
public <S> GraphTraversalSource.GraphTraversalSourceStub withPath()
public Transaction tx()
public static GraphTraversalSource.Builder build()
public List<TraversalStrategy> getStrategies()
TraversalSourceTraversalStrategy instances that will be applied to Traversal objects
generated from this TraversalSource.getStrategies in interface TraversalSourcepublic Optional<GraphComputer> getGraphComputer()
TraversalSourceGraphComputer associated with the TraversalSource which could be constructed as empty.getGraphComputer in interface TraversalSourcepublic Optional<Graph> getGraph()
TraversalSourceGraph associated with the TraversalSource which could be constructed as empty.getGraph in interface TraversalSourcepublic GraphTraversalSource.Builder asBuilder()
asBuilder in interface TraversalSourceCopyright © 2013–2015 Apache Software Foundation. All rights reserved.