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(Direction direction,
String firstVertexKeyOrEdgeLabel,
String edgeLabelOrSecondVertexKey,
Object... propertyKeyValues)
Deprecated.
|
static <A> GraphTraversal<A,Edge> |
addE(String edgeLabel) |
static <A> GraphTraversal<A,Edge> |
addInE(String firstVertexKeyOrEdgeLabel,
String edgeLabelOrSecondVertexKey,
Object... propertyKeyValues)
Deprecated.
|
static <A> GraphTraversal<A,Edge> |
addOutE(String firstVertexKeyOrEdgeLabel,
String edgeLabelOrSecondVertexKey,
Object... propertyKeyValues)
Deprecated.
|
static <A> GraphTraversal<A,Vertex> |
addV() |
static <A> GraphTraversal<A,Vertex> |
addV(Object... propertyKeyValues)
Deprecated.
|
static <A> GraphTraversal<A,Vertex> |
addV(String vertexLabel) |
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 <A> GraphTraversal<A,Vertex> |
both(String... edgeLabels) |
static <A> GraphTraversal<A,Edge> |
bothE(String... edgeLabels) |
static <A> GraphTraversal<A,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,
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,
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,K,V> GraphTraversal<A,Map<K,V>> |
groupV3d0()
Deprecated.
|
static <A> GraphTraversal<A,A> |
groupV3d0(String sideEffectKey)
Deprecated.
As of release 3.1.0, replaced by
group(String) . |
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... ids) |
static <A> GraphTraversal<A,A> |
hasKey(String... keys) |
static <A> GraphTraversal<A,A> |
hasLabel(String... labels) |
static <A> GraphTraversal<A,A> |
hasNot(String propertyKey) |
static <A> GraphTraversal<A,A> |
hasValue(Object... values) |
static <A> GraphTraversal<A,Object> |
id() |
static <A> GraphTraversal<A,A> |
identity() |
static <A> GraphTraversal<A,Vertex> |
in(String... edgeLabels) |
static <A> GraphTraversal<A,Edge> |
inE(String... edgeLabels) |
static <A> GraphTraversal<A,A> |
inject(A... injections) |
static <A> GraphTraversal<A,Vertex> |
inV() |
static <A> GraphTraversal<A,A> |
is(Object value) |
static <A> GraphTraversal<A,A> |
is(P<A> predicate) |
static <A> GraphTraversal<A,String> |
key() |
static <A> GraphTraversal<A,String> |
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,B> |
mapKeys()
Deprecated.
|
static <A,B> GraphTraversal<A,B> |
mapValues()
Deprecated.
|
static <A,B> GraphTraversal<A,Map<String,B>> |
match(Traversal<?,?>... matchTraversals) |
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 <A> GraphTraversal<A,Vertex> |
otherV() |
static <A> GraphTraversal<A,Vertex> |
out(String... edgeLabels) |
static <A> GraphTraversal<A,Edge> |
outE(String... edgeLabels) |
static <A> GraphTraversal<A,Vertex> |
outV() |
static <A> GraphTraversal<A,Path> |
path() |
static <A,B> GraphTraversal<A,Map<String,B>> |
project(String projectKey,
String... projectKeys) |
static <A,B> GraphTraversal<A,? extends Property<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,B> GraphTraversal<A,Map<String,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,V,U> GraphTraversal<A,A> |
sack(BiFunction<V,U,V> sackOperator,
String elementPropertyKey)
Deprecated.
As of release 3.1.0, replaced by
sack(BiFunction) . |
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(String selectKey) |
static <A,B> GraphTraversal<A,Map<String,B>> |
select(String selectKey1,
String selectKey2,
String... otherSelectKeys) |
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> |
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 <A> GraphTraversal<A,Vertex> |
to(Direction direction,
String... edgeLabels) |
static <A> GraphTraversal<A,Edge> |
toE(Direction direction,
String... edgeLabels) |
static <A> GraphTraversal<A,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,B> GraphTraversal<A,B> |
value() |
static <A,B> GraphTraversal<A,Map<String,B>> |
valueMap(boolean includeTokens,
String... propertyKeys) |
static <A,B> GraphTraversal<A,Map<String,B>> |
valueMap(String... propertyKeys) |
static <A,B> GraphTraversal<A,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> GraphTraversal<A,String> label()
GraphTraversal.label()
public static <A> GraphTraversal<A,Object> id()
GraphTraversal.id()
public static <A> GraphTraversal<A,Vertex> V(Object... vertexIdsOrElements)
GraphTraversal.V(Object...)
public static <A> GraphTraversal<A,Vertex> to(Direction direction, String... edgeLabels)
GraphTraversal.to(Direction, String...)
public static <A> GraphTraversal<A,Vertex> out(String... edgeLabels)
GraphTraversal.out(String...)
public static <A> GraphTraversal<A,Vertex> in(String... edgeLabels)
GraphTraversal.in(String...)
public static <A> GraphTraversal<A,Vertex> both(String... edgeLabels)
GraphTraversal.both(String...)
public static <A> GraphTraversal<A,Edge> toE(Direction direction, String... edgeLabels)
GraphTraversal.toE(Direction, String...)
public static <A> GraphTraversal<A,Edge> outE(String... edgeLabels)
GraphTraversal.outE(String...)
public static <A> GraphTraversal<A,Edge> inE(String... edgeLabels)
GraphTraversal.inE(String...)
public static <A> GraphTraversal<A,Edge> bothE(String... edgeLabels)
GraphTraversal.bothE(String...)
public static <A> GraphTraversal<A,Vertex> toV(Direction direction)
GraphTraversal.toV(Direction)
public static <A> GraphTraversal<A,Vertex> inV()
GraphTraversal.inV()
public static <A> GraphTraversal<A,Vertex> outV()
GraphTraversal.outV()
public static <A> GraphTraversal<A,Vertex> bothV()
GraphTraversal.bothV()
public static <A> GraphTraversal<A,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,B> GraphTraversal<A,? extends Property<B>> properties(String... propertyKeys)
GraphTraversal.properties(String...)
public static <A,B> GraphTraversal<A,B> values(String... propertyKeys)
GraphTraversal.values(String...)
public static <A,B> GraphTraversal<A,Map<String,B>> propertyMap(String... propertyKeys)
GraphTraversal.propertyMap(String...)
public static <A,B> GraphTraversal<A,Map<String,B>> valueMap(String... propertyKeys)
GraphTraversal.valueMap(String...)
public static <A,B> GraphTraversal<A,Map<String,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)
@Deprecated public static <A,B> GraphTraversal<A,B> mapValues()
GraphTraversal.mapValues()
@Deprecated public static <A,B> GraphTraversal<A,B> mapKeys()
GraphTraversal.mapKeys()
public static <A> GraphTraversal<A,String> key()
GraphTraversal.key()
public static <A,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> 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()
@Deprecated public static <A,K,V> GraphTraversal<A,Map<K,V>> groupV3d0()
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()
GraphTraversal.addV()
@Deprecated public static <A> GraphTraversal<A,Vertex> addV(Object... propertyKeyValues)
GraphTraversal.addV(Object...)
@Deprecated public static <A> GraphTraversal<A,Edge> addE(Direction direction, String firstVertexKeyOrEdgeLabel, String edgeLabelOrSecondVertexKey, Object... propertyKeyValues)
@Deprecated public static <A> GraphTraversal<A,Edge> addOutE(String firstVertexKeyOrEdgeLabel, String edgeLabelOrSecondVertexKey, Object... propertyKeyValues)
@Deprecated public static <A> GraphTraversal<A,Edge> addInE(String firstVertexKeyOrEdgeLabel, String edgeLabelOrSecondVertexKey, Object... propertyKeyValues)
public static <A> GraphTraversal<A,Edge> addE(String edgeLabel)
GraphTraversal.addE(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... labels)
GraphTraversal.hasLabel(String...)
public static <A> GraphTraversal<A,A> hasId(Object... ids)
GraphTraversal.hasId(Object...)
public static <A> GraphTraversal<A,A> hasKey(String... keys)
GraphTraversal.hasKey(String...)
public static <A> GraphTraversal<A,A> hasValue(Object... values)
GraphTraversal.hasValue(Object...)
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> 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)
@Deprecated public static <A> GraphTraversal<A,A> groupV3d0(String sideEffectKey)
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)
@Deprecated public static <A,V,U> GraphTraversal<A,A> sack(BiFunction<V,U,V> sackOperator, String elementPropertyKey)
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,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> 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–2016 Apache Software Foundation. All rights reserved.