Modifier and Type | Method and Description |
---|---|
ResultSet |
Client.submit(Traversal traversal)
Submit a
Traversal to the server for remote execution. |
CompletableFuture<ResultSet> |
Client.submitAsync(Traversal traversal)
An asynchronous version of
Client.submit(Traversal) . |
CompletableFuture<ResultSet> |
Client.ReboundClusteredClient.submitAsync(Traversal traversal)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
Supplier<? extends Traversal<Vertex,Edge>> |
MessageScope.Local.incidentTraversal |
Modifier and Type | Method and Description |
---|---|
Traversal<Vertex,Edge> |
MessageScope.Local.ReverseTraversalSupplier.get() |
Traversal<Vertex,Edge> |
Computer.getEdges() |
Traversal<Vertex,Vertex> |
Computer.getVertices() |
Modifier and Type | Method and Description |
---|---|
Supplier<? extends Traversal<Vertex,Edge>> |
MessageScope.Local.getIncidentTraversal() |
Modifier and Type | Method and Description |
---|---|
static IllegalArgumentException |
GraphComputer.Exceptions.edgeFilterAccessesAdjacentVertices(Traversal<Vertex,Edge> edgeFilter) |
Computer |
Computer.edges(Traversal<Vertex,Edge> edgeFilter) |
GraphComputer |
GraphComputer.edges(Traversal<Vertex,Edge> edgeFilter)
Add a filter that will limit which edges of the vertices are loaded from the graph source.
|
void |
GraphFilter.setEdgeFilter(Traversal<Vertex,Edge> edgeFilter)
Set the filter for selecting edges from the source graph.
|
void |
GraphFilter.setVertexFilter(Traversal<Vertex,Vertex> vertexFilter)
Set the filter for selecting vertices from the source graph.
|
static IllegalArgumentException |
GraphComputer.Exceptions.vertexFilterAccessesIncidentEdges(Traversal<Vertex,Vertex> vertexFilter) |
Computer |
Computer.vertices(Traversal<Vertex,Vertex> vertexFilter) |
GraphComputer |
GraphComputer.vertices(Traversal<Vertex,Vertex> vertexFilter)
Add a filter that will limit which vertices are loaded from the graph source.
|
Modifier and Type | Method and Description |
---|---|
static <M> MessageScope.Local<M> |
MessageScope.Local.of(Supplier<? extends Traversal<Vertex,Edge>> incidentTraversal) |
static <M> MessageScope.Local<M> |
MessageScope.Local.of(Supplier<? extends Traversal<Vertex,Edge>> incidentTraversal,
BiFunction<M,Edge,M> edgeFunction) |
Modifier and Type | Interface and Description |
---|---|
static interface |
Traversal.Admin<S,E> |
Modifier and Type | Method and Description |
---|---|
default <A,B> Traversal<A,B> |
Traversal.iterate()
Iterate all the
Traverser instances in the traversal. |
default Traversal<S,org.apache.tinkerpop.gremlin.process.traversal.util.TraversalMetrics> |
Traversal.profile()
Profile the traversal.
|
Modifier and Type | Method and Description |
---|---|
default <T> CompletableFuture<T> |
Traversal.promise(Function<Traversal,T> traversalFunction)
Starts a promise to execute a function on the current
Traversal that will be completed in the future. |
Modifier and Type | Interface and Description |
---|---|
interface |
GraphTraversal<S,E> |
static interface |
GraphTraversal.Admin<S,E> |
Modifier and Type | Method and Description |
---|---|
default GraphTraversal<S,E> |
GraphTraversal.and(Traversal<?,?>... andTraversals) |
default <M,E2> GraphTraversal<S,E2> |
GraphTraversal.branch(Traversal<?,M> branchTraversal) |
default GraphTraversal<S,E> |
GraphTraversal.by(Traversal<?,?> traversal) |
default <V> GraphTraversal<S,E> |
GraphTraversal.by(Traversal<?,?> traversal,
Comparator<V> comparator) |
default <E2> GraphTraversal<S,E2> |
GraphTraversal.choose(Predicate<E> choosePredicate,
Traversal<?,E2> trueChoice) |
default <E2> GraphTraversal<S,E2> |
GraphTraversal.choose(Predicate<E> choosePredicate,
Traversal<?,E2> trueChoice,
Traversal<?,E2> falseChoice) |
default <E2> GraphTraversal<S,E2> |
GraphTraversal.choose(Predicate<E> choosePredicate,
Traversal<?,E2> trueChoice,
Traversal<?,E2> falseChoice) |
default <E2> GraphTraversal<S,E2> |
GraphTraversal.choose(Traversal<?,?> traversalPredicate,
Traversal<?,E2> trueChoice) |
default <E2> GraphTraversal<S,E2> |
GraphTraversal.choose(Traversal<?,?> traversalPredicate,
Traversal<?,E2> trueChoice) |
default <E2> GraphTraversal<S,E2> |
GraphTraversal.choose(Traversal<?,?> traversalPredicate,
Traversal<?,E2> trueChoice,
Traversal<?,E2> falseChoice) |
default <E2> GraphTraversal<S,E2> |
GraphTraversal.choose(Traversal<?,?> traversalPredicate,
Traversal<?,E2> trueChoice,
Traversal<?,E2> falseChoice) |
default <E2> GraphTraversal<S,E2> |
GraphTraversal.choose(Traversal<?,?> traversalPredicate,
Traversal<?,E2> trueChoice,
Traversal<?,E2> falseChoice) |
default <M,E2> GraphTraversal<S,E2> |
GraphTraversal.choose(Traversal<?,M> choiceTraversal) |
default <E2> GraphTraversal<S,E2> |
GraphTraversal.coalesce(Traversal<?,E2>... coalesceTraversals) |
default GraphTraversal<S,E> |
GraphTraversal.emit(Traversal<?,?> emitTraversal) |
default GraphTraversal<S,E> |
GraphTraversal.filter(Traversal<?,?> filterTraversal) |
default <E2> GraphTraversal<S,E2> |
GraphTraversal.flatMap(Traversal<?,E2> flatMapTraversal)
|
default GraphTraversal<S,E> |
GraphTraversal.from(Traversal<E,Vertex> fromVertex) |
default GraphTraversal<S,E> |
GraphTraversal.has(String propertyKey,
Traversal<?,?> propertyTraversal) |
default GraphTraversal<S,E> |
GraphTraversal.has(T accessor,
Traversal<?,?> propertyTraversal) |
default <E2> GraphTraversal<S,E2> |
GraphTraversal.local(Traversal<?,E2> localTraversal) |
default <E2> GraphTraversal<S,E2> |
GraphTraversal.map(Traversal<?,E2> mapTraversal) |
default <E2> GraphTraversal<S,Map<String,E2>> |
GraphTraversal.match(Traversal<?,?>... matchTraversals)
|
default GraphTraversal<S,E> |
GraphTraversal.not(Traversal<?,?> notTraversal) |
default <M,E2> GraphTraversal<S,E> |
GraphTraversal.option(M pickToken,
Traversal<E,E2> traversalOption) |
default <E2> GraphTraversal<S,E> |
GraphTraversal.option(Traversal<E,E2> traversalOption) |
default <E2> GraphTraversal<S,E2> |
GraphTraversal.optional(Traversal<?,E2> optionalTraversal) |
default GraphTraversal<S,E> |
GraphTraversal.or(Traversal<?,?>... orTraversals) |
default GraphTraversal<S,E> |
GraphTraversal.repeat(Traversal<?,E> repeatTraversal) |
default GraphTraversal<S,E> |
GraphTraversal.sideEffect(Traversal<?,?> sideEffectTraversal) |
default GraphTraversal<S,E> |
GraphTraversal.to(Traversal<E,Vertex> toVertex) |
default <E2> GraphTraversal<S,E2> |
GraphTraversal.union(Traversal<?,E2>... unionTraversals) |
default GraphTraversal<S,E> |
GraphTraversal.until(Traversal<?,?> untilTraversal) |
default GraphTraversal<S,E> |
GraphTraversal.where(Traversal<?,?> whereTraversal) |
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.