public class __ extends Object
GraphTraversal
.Modifier | Constructor and Description |
---|---|
protected |
__() |
Modifier and Type | Method and Description |
---|---|
static <A> GraphTraversal<A,A> |
__(A... starts) |
static <A> GraphTraversal<A,Edge> |
addE(String edgeLabel) |
static <A> GraphTraversal<A,Edge> |
addE(Traversal<?,String> edgeLabelTraversal) |
static <A> GraphTraversal<A,Vertex> |
addV() |
static <A> GraphTraversal<A,Vertex> |
addV(String vertexLabel) |
static <A> GraphTraversal<A,Vertex> |
addV(Traversal<?,String> vertexLabelTraversal) |
static <A> GraphTraversal<A,A> |
aggregate(String sideEffectKey) |
static <A> GraphTraversal<A,A> |
and(Traversal<?,?>... andTraversals) |
static <A> GraphTraversal<A,A> |
as(String label,
String... labels) |
static <A> GraphTraversal<A,A> |
barrier() |
static <A> GraphTraversal<A,A> |
barrier(Consumer<TraverserSet<Object>> barrierConsumer) |
static <A> GraphTraversal<A,A> |
barrier(int maxBarrierSize) |
static GraphTraversal<Vertex,Vertex> |
both(String... edgeLabels) |
static GraphTraversal<Vertex,Edge> |
bothE(String... edgeLabels) |
static GraphTraversal<Edge,Vertex> |
bothV() |
static <A,M,B> GraphTraversal<A,B> |
branch(Function<Traverser<A>,M> function) |
static <A,M,B> GraphTraversal<A,B> |
branch(Traversal<?,M> traversalFunction) |
static <A,B> GraphTraversal<A,B> |
cap(String sideEffectKey,
String... sideEffectKeys) |
static <A,M,B> GraphTraversal<A,B> |
choose(Function<A,M> choiceFunction) |
static <A,B> GraphTraversal<A,B> |
choose(Predicate<A> choosePredicate,
Traversal<?,B> trueChoice) |
static <A,B> GraphTraversal<A,B> |
choose(Predicate<A> choosePredicate,
Traversal<?,B> trueChoice,
Traversal<?,B> falseChoice) |
static <A,M,B> GraphTraversal<A,B> |
choose(Traversal<?,M> traversalFunction) |
static <A,M,B> GraphTraversal<A,B> |
choose(Traversal<?,M> traversalPredicate,
Traversal<?,B> trueChoice) |
static <A,M,B> GraphTraversal<A,B> |
choose(Traversal<?,M> traversalPredicate,
Traversal<?,B> trueChoice,
Traversal<?,B> falseChoice) |
static <A,B> GraphTraversal<A,B> |
coalesce(Traversal<?,B>... traversals) |
static <A> GraphTraversal<A,A> |
coin(double probability) |
static <A> GraphTraversal<A,A> |
constant(A a) |
static <A> GraphTraversal<A,Long> |
count() |
static <A> GraphTraversal<A,Long> |
count(Scope scope) |
static <A> GraphTraversal<A,A> |
cyclicPath() |
static <A> GraphTraversal<A,A> |
dedup(Scope scope,
String... dedupLabels) |
static <A> GraphTraversal<A,A> |
dedup(String... dedupLabels) |
static <A> GraphTraversal<A,A> |
drop() |
static <A> GraphTraversal<A,A> |
emit() |
static <A> GraphTraversal<A,A> |
emit(Predicate<Traverser<A>> emitPredicate) |
static <A> GraphTraversal<A,A> |
emit(Traversal<?,?> emitTraversal) |
static <A> GraphTraversal<A,A> |
filter(Predicate<Traverser<A>> predicate) |
static <A> GraphTraversal<A,A> |
filter(Traversal<?,?> filterTraversal) |
static <A,B> GraphTraversal<A,B> |
flatMap(Function<Traverser<A>,Iterator<B>> function) |
static <A,B> GraphTraversal<A,B> |
flatMap(Traversal<?,B> flatMapTraversal) |
static <A> GraphTraversal<A,List<A>> |
fold() |
static <A,B> GraphTraversal<A,B> |
fold(B seed,
BiFunction<B,A,B> foldFunction) |
static <A,K,V> GraphTraversal<A,Map<K,V>> |
group() |
static <A> GraphTraversal<A,A> |
group(String sideEffectKey) |
static <A,K> GraphTraversal<A,Map<K,Long>> |
groupCount() |
static <A> GraphTraversal<A,A> |
groupCount(String sideEffectKey) |
static <A> GraphTraversal<A,A> |
has(String propertyKey) |
static <A> GraphTraversal<A,A> |
has(String propertyKey,
Object value) |
static <A> GraphTraversal<A,A> |
has(String propertyKey,
P<?> predicate) |
static <A> GraphTraversal<A,A> |
has(String label,
String propertyKey,
Object value) |
static <A> GraphTraversal<A,A> |
has(String label,
String propertyKey,
P<?> predicate) |
static <A> GraphTraversal<A,A> |
has(String propertyKey,
Traversal<?,?> propertyTraversal) |
static <A> GraphTraversal<A,A> |
has(T accessor,
Object value) |
static <A> GraphTraversal<A,A> |
has(T accessor,
P<?> predicate) |
static <A> GraphTraversal<A,A> |
has(T accessor,
Traversal<?,?> propertyTraversal) |
static <A> GraphTraversal<A,A> |
hasId(Object id,
Object... otherIds) |
static <A> GraphTraversal<A,A> |
hasId(P<Object> predicate) |
static <A> GraphTraversal<A,A> |
hasKey(P<String> predicate) |
static <A> GraphTraversal<A,A> |
hasKey(String label,
String... otherLabels) |
static <A> GraphTraversal<A,A> |
hasLabel(P<String> predicate) |
static <A> GraphTraversal<A,A> |
hasLabel(String label,
String... otherLabels) |
static <A> GraphTraversal<A,A> |
hasNot(String propertyKey) |
static <A> GraphTraversal<A,A> |
hasValue(Object value,
Object... values) |
static <A> GraphTraversal<A,A> |
hasValue(P<Object> predicate) |
static <A extends Element> |
id() |
static <A> GraphTraversal<A,A> |
identity() |
static GraphTraversal<Vertex,Vertex> |
in(String... edgeLabels) |
static GraphTraversal<Vertex,Edge> |
inE(String... edgeLabels) |
static <A> GraphTraversal<A,A> |
inject(A... injections) |
static GraphTraversal<Edge,Vertex> |
inV() |
static <A> GraphTraversal<A,A> |
is(Object value) |
static <A> GraphTraversal<A,A> |
is(P<A> predicate) |
static <A extends Property> |
key() |
static <A extends Element> |
label() |
static <A> GraphTraversal<A,A> |
limit(long limit) |
static <A> GraphTraversal<A,A> |
limit(Scope scope,
long limit) |
static <A,B> GraphTraversal<A,B> |
local(Traversal<?,B> localTraversal) |
static <A> GraphTraversal<A,Integer> |
loops() |
static <A,B> GraphTraversal<A,B> |
map(Function<Traverser<A>,B> function) |
static <A,B> GraphTraversal<A,B> |
map(Traversal<?,B> mapTraversal) |
static <A,B> GraphTraversal<A,Map<String,B>> |
match(Traversal<?,?>... matchTraversals) |
static <A> GraphTraversal<A,Double> |
math(String expression) |
static <A,B extends Number> |
max() |
static <A,B extends Number> |
max(Scope scope) |
static <A> GraphTraversal<A,Double> |
mean() |
static <A> GraphTraversal<A,Double> |
mean(Scope scope) |
static <A,B extends Number> |
min() |
static <A,B extends Number> |
min(Scope scope) |
static <A> GraphTraversal<A,A> |
not(Traversal<?,?> notTraversal) |
static <A> GraphTraversal<A,A> |
optional(Traversal<?,A> optionalTraversal) |
static <A> GraphTraversal<A,A> |
or(Traversal<?,?>... orTraversals) |
static <A> GraphTraversal<A,A> |
order() |
static <A> GraphTraversal<A,A> |
order(Scope scope) |
static GraphTraversal<Edge,Vertex> |
otherV() |
static GraphTraversal<Vertex,Vertex> |
out(String... edgeLabels) |
static GraphTraversal<Vertex,Edge> |
outE(String... edgeLabels) |
static GraphTraversal<Edge,Vertex> |
outV() |
static <A> GraphTraversal<A,Path> |
path() |
static <A,B> GraphTraversal<A,Map<String,B>> |
project(String projectKey,
String... projectKeys) |
static <A extends Element,B> |
properties(String... propertyKeys) |
static <A> GraphTraversal<A,A> |
property(Object key,
Object value,
Object... keyValues) |
static <A> GraphTraversal<A,A> |
property(VertexProperty.Cardinality cardinality,
Object key,
Object value,
Object... keyValues) |
static <A extends Element,B> |
propertyMap(String... propertyKeys) |
static <A> GraphTraversal<A,A> |
range(long low,
long high) |
static <A> GraphTraversal<A,A> |
range(Scope scope,
long low,
long high) |
static <A> GraphTraversal<A,A> |
repeat(Traversal<?,A> traversal) |
static <A,B> GraphTraversal<A,B> |
sack() |
static <A,V,U> GraphTraversal<A,A> |
sack(BiFunction<V,U,V> sackOperator) |
static <A> GraphTraversal<A,A> |
sample(int amountToSample) |
static <A> GraphTraversal<A,A> |
sample(Scope scope,
int amountToSample) |
static <A,B> GraphTraversal<A,Collection<B>> |
select(Column column) |
static <A,B> GraphTraversal<A,B> |
select(Pop pop,
String selectKey) |
static <A,B> GraphTraversal<A,Map<String,B>> |
select(Pop pop,
String selectKey1,
String selectKey2,
String... otherSelectKeys) |
static <A,B> GraphTraversal<A,B> |
select(Pop pop,
Traversal<A,B> keyTraversal) |
static <A,B> GraphTraversal<A,B> |
select(String selectKey) |
static <A,B> GraphTraversal<A,Map<String,B>> |
select(String selectKey1,
String selectKey2,
String... otherSelectKeys) |
static <A,B> GraphTraversal<A,B> |
select(Traversal<A,B> keyTraversal) |
static <A> GraphTraversal<A,A> |
sideEffect(Consumer<Traverser<A>> consumer) |
static <A> GraphTraversal<A,A> |
sideEffect(Traversal<?,?> sideEffectTraversal) |
static <A> GraphTraversal<A,A> |
simplePath() |
static <A> GraphTraversal<A,A> |
skip(long skip) |
static <A> GraphTraversal<A,A> |
skip(Scope scope,
long skip) |
static <A> GraphTraversal<A,A> |
start() |
static <A> GraphTraversal<A,A> |
store(String sideEffectKey) |
static <A> GraphTraversal<A,Edge> |
subgraph(String sideEffectKey) |
static <A> GraphTraversal<A,Double> |
sum() |
static <A> GraphTraversal<A,Double> |
sum(Scope scope) |
static <A> GraphTraversal<A,A> |
tail() |
static <A> GraphTraversal<A,A> |
tail(long limit) |
static <A> GraphTraversal<A,A> |
tail(Scope scope) |
static <A> GraphTraversal<A,A> |
tail(Scope scope,
long limit) |
static <A> GraphTraversal<A,A> |
timeLimit(long timeLimit) |
static <A> GraphTraversal<A,A> |
times(int maxLoops) |
static GraphTraversal<Vertex,Vertex> |
to(Direction direction,
String... edgeLabels) |
static GraphTraversal<Vertex,Edge> |
toE(Direction direction,
String... edgeLabels) |
static GraphTraversal<Edge,Vertex> |
toV(Direction direction) |
static <A> GraphTraversal<A,Tree> |
tree() |
static <A> GraphTraversal<A,A> |
tree(String sideEffectKey) |
static <A> GraphTraversal<A,A> |
unfold() |
static <A,B> GraphTraversal<A,B> |
union(Traversal<?,B>... traversals) |
static <A> GraphTraversal<A,A> |
until(Predicate<Traverser<A>> untilPredicate) |
static <A> GraphTraversal<A,A> |
until(Traversal<?,?> untilTraversal) |
static <A> GraphTraversal<A,Vertex> |
V(Object... vertexIdsOrElements) |
static <A extends Property,B> |
value() |
static <A extends Element,B> |
valueMap(boolean includeTokens,
String... propertyKeys) |
static <A extends Element,B> |
valueMap(String... propertyKeys) |
static <A extends Element,B> |
values(String... propertyKeys) |
static <A> GraphTraversal<A,A> |
where(P<String> predicate) |
static <A> GraphTraversal<A,A> |
where(String startKey,
P<String> predicate) |
static <A> GraphTraversal<A,A> |
where(Traversal<?,?> whereTraversal) |
public static <A> GraphTraversal<A,A> start()
public static <A> GraphTraversal<A,A> __(A... starts)
public static <A,B> GraphTraversal<A,B> map(Function<Traverser<A>,B> function)
GraphTraversal.map(Function)
public static <A,B> GraphTraversal<A,B> map(Traversal<?,B> mapTraversal)
GraphTraversal.map(Traversal)
public static <A,B> GraphTraversal<A,B> flatMap(Function<Traverser<A>,Iterator<B>> function)
GraphTraversal.flatMap(Function)
public static <A,B> GraphTraversal<A,B> flatMap(Traversal<?,B> flatMapTraversal)
GraphTraversal.flatMap(Traversal)
public static <A> GraphTraversal<A,A> identity()
GraphTraversal.identity()
public static <A> GraphTraversal<A,A> constant(A a)
GraphTraversal.constant(Object)
public static <A extends Element> GraphTraversal<A,String> label()
GraphTraversal.label()
public static <A extends Element> GraphTraversal<A,Object> id()
GraphTraversal.id()
public static <A> GraphTraversal<A,Vertex> V(Object... vertexIdsOrElements)
GraphTraversal.V(Object...)
public static GraphTraversal<Vertex,Vertex> to(Direction direction, String... edgeLabels)
GraphTraversal.to(Direction, String...)
public static GraphTraversal<Vertex,Vertex> out(String... edgeLabels)
GraphTraversal.out(String...)
public static GraphTraversal<Vertex,Vertex> in(String... edgeLabels)
GraphTraversal.in(String...)
public static GraphTraversal<Vertex,Vertex> both(String... edgeLabels)
GraphTraversal.both(String...)
public static GraphTraversal<Vertex,Edge> toE(Direction direction, String... edgeLabels)
GraphTraversal.toE(Direction, String...)
public static GraphTraversal<Vertex,Edge> outE(String... edgeLabels)
GraphTraversal.outE(String...)
public static GraphTraversal<Vertex,Edge> inE(String... edgeLabels)
GraphTraversal.inE(String...)
public static GraphTraversal<Vertex,Edge> bothE(String... edgeLabels)
GraphTraversal.bothE(String...)
public static GraphTraversal<Edge,Vertex> toV(Direction direction)
GraphTraversal.toV(Direction)
public static GraphTraversal<Edge,Vertex> inV()
GraphTraversal.inV()
public static GraphTraversal<Edge,Vertex> outV()
GraphTraversal.outV()
public static GraphTraversal<Edge,Vertex> bothV()
GraphTraversal.bothV()
public static GraphTraversal<Edge,Vertex> otherV()
GraphTraversal.otherV()
public static <A> GraphTraversal<A,A> order()
GraphTraversal.order()
public static <A> GraphTraversal<A,A> order(Scope scope)
GraphTraversal.order(Scope)
public static <A extends Element,B> GraphTraversal<A,? extends Property<B>> properties(String... propertyKeys)
GraphTraversal.properties(String...)
public static <A extends Element,B> GraphTraversal<A,B> values(String... propertyKeys)
GraphTraversal.values(String...)
public static <A extends Element,B> GraphTraversal<A,Map<String,B>> propertyMap(String... propertyKeys)
GraphTraversal.propertyMap(String...)
public static <A extends Element,B> GraphTraversal<A,Map<String,B>> valueMap(String... propertyKeys)
GraphTraversal.valueMap(String...)
public static <A extends Element,B> GraphTraversal<A,Map<Object,B>> valueMap(boolean includeTokens, String... propertyKeys)
public static <A,B> GraphTraversal<A,Map<String,B>> project(String projectKey, String... projectKeys)
public static <A,B> GraphTraversal<A,Collection<B>> select(Column column)
GraphTraversal.select(Column)
public static <A extends Property> GraphTraversal<A,String> key()
GraphTraversal.key()
public static <A extends Property,B> GraphTraversal<A,B> value()
GraphTraversal.value()
public static <A> GraphTraversal<A,Path> path()
GraphTraversal.path()
public static <A,B> GraphTraversal<A,Map<String,B>> match(Traversal<?,?>... matchTraversals)
GraphTraversal.match(Traversal[])
public static <A,B> GraphTraversal<A,B> sack()
GraphTraversal.sack()
public static <A> GraphTraversal<A,Integer> loops()
GraphTraversal.loops()
public static <A,B> GraphTraversal<A,B> select(Pop pop, String selectKey)
GraphTraversal.select(Pop, String)
public static <A,B> GraphTraversal<A,B> select(String selectKey)
GraphTraversal.select(String)
public static <A,B> GraphTraversal<A,Map<String,B>> select(Pop pop, String selectKey1, String selectKey2, String... otherSelectKeys)
public static <A,B> GraphTraversal<A,Map<String,B>> select(String selectKey1, String selectKey2, String... otherSelectKeys)
public static <A,B> GraphTraversal<A,B> select(Pop pop, Traversal<A,B> keyTraversal)
GraphTraversal.select(Pop, Traversal)
public static <A,B> GraphTraversal<A,B> select(Traversal<A,B> keyTraversal)
GraphTraversal.select(Traversal)
public static <A> GraphTraversal<A,A> unfold()
GraphTraversal.unfold()
public static <A> GraphTraversal<A,List<A>> fold()
GraphTraversal.fold()
public static <A,B> GraphTraversal<A,B> fold(B seed, BiFunction<B,A,B> foldFunction)
GraphTraversal.fold(Object, BiFunction)
public static <A> GraphTraversal<A,Long> count()
GraphTraversal.count()
public static <A> GraphTraversal<A,Long> count(Scope scope)
GraphTraversal.count(Scope)
public static <A> GraphTraversal<A,Double> sum()
GraphTraversal.sum()
public static <A> GraphTraversal<A,Double> sum(Scope scope)
GraphTraversal.sum(Scope)
public static <A,B extends Number> GraphTraversal<A,B> min()
GraphTraversal.min()
public static <A,B extends Number> GraphTraversal<A,B> min(Scope scope)
GraphTraversal.min(Scope)
public static <A,B extends Number> GraphTraversal<A,B> max()
GraphTraversal.max()
public static <A,B extends Number> GraphTraversal<A,B> max(Scope scope)
GraphTraversal.max(Scope)
public static <A> GraphTraversal<A,Double> mean()
GraphTraversal.mean()
public static <A> GraphTraversal<A,Double> mean(Scope scope)
GraphTraversal.mean(Scope)
public static <A,K,V> GraphTraversal<A,Map<K,V>> group()
GraphTraversal.group()
public static <A,K> GraphTraversal<A,Map<K,Long>> groupCount()
GraphTraversal.groupCount()
public static <A> GraphTraversal<A,Tree> tree()
GraphTraversal.tree()
public static <A> GraphTraversal<A,Vertex> addV(String vertexLabel)
GraphTraversal.addV(String)
public static <A> GraphTraversal<A,Vertex> addV(Traversal<?,String> vertexLabelTraversal)
public static <A> GraphTraversal<A,Vertex> addV()
GraphTraversal.addV()
public static <A> GraphTraversal<A,Edge> addE(String edgeLabel)
GraphTraversal.addE(String)
public static <A> GraphTraversal<A,Edge> addE(Traversal<?,String> edgeLabelTraversal)
public static <A> GraphTraversal<A,Double> math(String expression)
GraphTraversal.math(String)
public static <A> GraphTraversal<A,A> filter(Predicate<Traverser<A>> predicate)
GraphTraversal.filter(Predicate)
public static <A> GraphTraversal<A,A> filter(Traversal<?,?> filterTraversal)
GraphTraversal.filter(Traversal)
public static <A> GraphTraversal<A,A> and(Traversal<?,?>... andTraversals)
GraphTraversal.and(Traversal[])
public static <A> GraphTraversal<A,A> or(Traversal<?,?>... orTraversals)
GraphTraversal.or(Traversal[])
public static <A> GraphTraversal<A,A> inject(A... injections)
GraphTraversal.inject(Object[])
public static <A> GraphTraversal<A,A> dedup(String... dedupLabels)
GraphTraversal.dedup(String...)
public static <A> GraphTraversal<A,A> dedup(Scope scope, String... dedupLabels)
GraphTraversal.dedup(Scope, String...)
public static <A> GraphTraversal<A,A> has(String propertyKey, P<?> predicate)
GraphTraversal.has(String, P)
public static <A> GraphTraversal<A,A> has(T accessor, P<?> predicate)
GraphTraversal.has(T, P)
public static <A> GraphTraversal<A,A> has(String propertyKey, Object value)
GraphTraversal.has(String, Object)
public static <A> GraphTraversal<A,A> has(T accessor, Object value)
GraphTraversal.has(T, Object)
public static <A> GraphTraversal<A,A> has(String label, String propertyKey, Object value)
public static <A> GraphTraversal<A,A> has(String label, String propertyKey, P<?> predicate)
GraphTraversal.has(String, String, P)
public static <A> GraphTraversal<A,A> has(T accessor, Traversal<?,?> propertyTraversal)
GraphTraversal.has(T, Traversal)
public static <A> GraphTraversal<A,A> has(String propertyKey, Traversal<?,?> propertyTraversal)
GraphTraversal.has(String, Traversal)
public static <A> GraphTraversal<A,A> has(String propertyKey)
GraphTraversal.has(String)
public static <A> GraphTraversal<A,A> hasNot(String propertyKey)
GraphTraversal.hasNot(String)
public static <A> GraphTraversal<A,A> hasLabel(String label, String... otherLabels)
public static <A> GraphTraversal<A,A> hasLabel(P<String> predicate)
GraphTraversal.hasLabel(P)
public static <A> GraphTraversal<A,A> hasId(Object id, Object... otherIds)
GraphTraversal.hasId(Object, Object...)
public static <A> GraphTraversal<A,A> hasId(P<Object> predicate)
GraphTraversal.hasId(P)
public static <A> GraphTraversal<A,A> hasKey(String label, String... otherLabels)
GraphTraversal.hasKey(String, String...)
public static <A> GraphTraversal<A,A> hasKey(P<String> predicate)
GraphTraversal.hasKey(P)
public static <A> GraphTraversal<A,A> hasValue(Object value, Object... values)
public static <A> GraphTraversal<A,A> hasValue(P<Object> predicate)
GraphTraversal.hasValue(P)
public static <A> GraphTraversal<A,A> where(String startKey, P<String> predicate)
GraphTraversal.where(String, P)
public static <A> GraphTraversal<A,A> where(P<String> predicate)
GraphTraversal.where(P)
public static <A> GraphTraversal<A,A> where(Traversal<?,?> whereTraversal)
GraphTraversal.where(Traversal)
public static <A> GraphTraversal<A,A> is(P<A> predicate)
GraphTraversal.is(P)
public static <A> GraphTraversal<A,A> is(Object value)
GraphTraversal.is(Object)
public static <A> GraphTraversal<A,A> not(Traversal<?,?> notTraversal)
GraphTraversal.not(Traversal)
public static <A> GraphTraversal<A,A> coin(double probability)
GraphTraversal.coin(double)
public static <A> GraphTraversal<A,A> range(long low, long high)
GraphTraversal.range(long, long)
public static <A> GraphTraversal<A,A> range(Scope scope, long low, long high)
GraphTraversal.range(Scope, long, long)
public static <A> GraphTraversal<A,A> limit(long limit)
GraphTraversal.limit(long)
public static <A> GraphTraversal<A,A> limit(Scope scope, long limit)
GraphTraversal.limit(Scope, long)
public static <A> GraphTraversal<A,A> skip(long skip)
GraphTraversal.skip(long)
public static <A> GraphTraversal<A,A> skip(Scope scope, long skip)
GraphTraversal.skip(Scope, long)
public static <A> GraphTraversal<A,A> tail()
GraphTraversal.tail()
public static <A> GraphTraversal<A,A> tail(long limit)
GraphTraversal.tail(long)
public static <A> GraphTraversal<A,A> tail(Scope scope)
GraphTraversal.tail(Scope)
public static <A> GraphTraversal<A,A> tail(Scope scope, long limit)
GraphTraversal.tail(Scope, long)
public static <A> GraphTraversal<A,A> simplePath()
GraphTraversal.simplePath()
public static <A> GraphTraversal<A,A> cyclicPath()
GraphTraversal.cyclicPath()
public static <A> GraphTraversal<A,A> sample(int amountToSample)
GraphTraversal.sample(int)
public static <A> GraphTraversal<A,A> sample(Scope scope, int amountToSample)
GraphTraversal.sample(Scope, int)
public static <A> GraphTraversal<A,A> drop()
GraphTraversal.drop()
public static <A> GraphTraversal<A,A> sideEffect(Consumer<Traverser<A>> consumer)
GraphTraversal.sideEffect(Consumer)
public static <A> GraphTraversal<A,A> sideEffect(Traversal<?,?> sideEffectTraversal)
GraphTraversal.sideEffect(Traversal)
public static <A,B> GraphTraversal<A,B> cap(String sideEffectKey, String... sideEffectKeys)
GraphTraversal.cap(String, String...)
public static <A> GraphTraversal<A,Edge> subgraph(String sideEffectKey)
GraphTraversal.subgraph(String)
public static <A> GraphTraversal<A,A> aggregate(String sideEffectKey)
GraphTraversal.aggregate(String)
public static <A> GraphTraversal<A,A> group(String sideEffectKey)
GraphTraversal.group(String)
public static <A> GraphTraversal<A,A> groupCount(String sideEffectKey)
GraphTraversal.groupCount(String)
public static <A> GraphTraversal<A,A> timeLimit(long timeLimit)
GraphTraversal.timeLimit(long)
public static <A> GraphTraversal<A,A> tree(String sideEffectKey)
GraphTraversal.tree(String)
public static <A,V,U> GraphTraversal<A,A> sack(BiFunction<V,U,V> sackOperator)
GraphTraversal.sack(BiFunction)
public static <A> GraphTraversal<A,A> store(String sideEffectKey)
GraphTraversal.store(String)
public static <A> GraphTraversal<A,A> property(Object key, Object value, Object... keyValues)
public static <A> GraphTraversal<A,A> property(VertexProperty.Cardinality cardinality, Object key, Object value, Object... keyValues)
public static <A,M,B> GraphTraversal<A,B> branch(Function<Traverser<A>,M> function)
GraphTraversal.branch(Function)
public static <A,M,B> GraphTraversal<A,B> branch(Traversal<?,M> traversalFunction)
GraphTraversal.branch(Traversal)
public static <A,B> GraphTraversal<A,B> choose(Predicate<A> choosePredicate, Traversal<?,B> trueChoice, Traversal<?,B> falseChoice)
public static <A,B> GraphTraversal<A,B> choose(Predicate<A> choosePredicate, Traversal<?,B> trueChoice)
public static <A,M,B> GraphTraversal<A,B> choose(Function<A,M> choiceFunction)
GraphTraversal.choose(Function)
public static <A,M,B> GraphTraversal<A,B> choose(Traversal<?,M> traversalFunction)
GraphTraversal.choose(Traversal)
public static <A,M,B> GraphTraversal<A,B> choose(Traversal<?,M> traversalPredicate, Traversal<?,B> trueChoice, Traversal<?,B> falseChoice)
public static <A,M,B> GraphTraversal<A,B> choose(Traversal<?,M> traversalPredicate, Traversal<?,B> trueChoice)
public static <A> GraphTraversal<A,A> optional(Traversal<?,A> optionalTraversal)
GraphTraversal.optional(Traversal)
public static <A,B> GraphTraversal<A,B> union(Traversal<?,B>... traversals)
GraphTraversal.union(Traversal[])
public static <A,B> GraphTraversal<A,B> coalesce(Traversal<?,B>... traversals)
GraphTraversal.coalesce(Traversal[])
public static <A> GraphTraversal<A,A> repeat(Traversal<?,A> traversal)
GraphTraversal.repeat(Traversal)
public static <A> GraphTraversal<A,A> emit(Traversal<?,?> emitTraversal)
GraphTraversal.emit(Traversal)
public static <A> GraphTraversal<A,A> emit(Predicate<Traverser<A>> emitPredicate)
GraphTraversal.emit(Predicate)
public static <A> GraphTraversal<A,A> until(Traversal<?,?> untilTraversal)
GraphTraversal.until(Traversal)
public static <A> GraphTraversal<A,A> until(Predicate<Traverser<A>> untilPredicate)
GraphTraversal.until(Predicate)
public static <A> GraphTraversal<A,A> times(int maxLoops)
GraphTraversal.times(int)
public static <A> GraphTraversal<A,A> emit()
GraphTraversal.emit()
public static <A,B> GraphTraversal<A,B> local(Traversal<?,B> localTraversal)
GraphTraversal.local(Traversal)
public static <A> GraphTraversal<A,A> as(String label, String... labels)
GraphTraversal.as(String, String...)
public static <A> GraphTraversal<A,A> barrier()
GraphTraversal.barrier()
public static <A> GraphTraversal<A,A> barrier(int maxBarrierSize)
GraphTraversal.barrier(int)
public static <A> GraphTraversal<A,A> barrier(Consumer<TraverserSet<Object>> barrierConsumer)
GraphTraversal.barrier(Consumer)
Copyright © 2013–2019 Apache Software Foundation. All rights reserved.