public class __ extends Object
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) |
static <A> GraphTraversal<A,Edge> |
addInE(String firstVertexKeyOrEdgeLabel,
String edgeLabelOrSecondVertexKey,
Object... propertyKeyValues) |
static <A> GraphTraversal<A,Edge> |
addOutE(String firstVertexKeyOrEdgeLabel,
String edgeLabelOrSecondVertexKey,
Object... propertyKeyValues) |
static <A> GraphTraversal<A,Vertex> |
addV(Object... propertyKeyValues) |
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(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,R> GraphTraversal<A,Map<K,R>> |
group() |
static <A> GraphTraversal<A,A> |
group(String sideEffectKey) |
static <A,B> GraphTraversal<A,Map<B,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> |
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,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() |
static <A,B> GraphTraversal<A,B> |
mapValues() |
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> |
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> GraphTraversal<A,A> |
profile() |
static <A,B> GraphTraversal<A,? extends Property<B>> |
properties(String... propertyKeys) |
static <A> GraphTraversal<A,A> |
property(String key,
Object value,
Object... keyValues) |
static <A> GraphTraversal<A,A> |
property(VertexProperty.Cardinality cardinality,
String 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> GraphTraversal<A,A> |
sack(BiFunction<V,A,V> sackFunction) |
static <A,V> GraphTraversal<A,A> |
sack(BinaryOperator<V> sackOperator,
String elementPropertyKey) |
static <A> GraphTraversal<A,A> |
sample(int amountToSample) |
static <A> GraphTraversal<A,A> |
sample(Scope scope,
int amountToSample) |
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,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)
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)
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> 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)
GraphTraversal#valueMap(boolean, String...)}
public static <A,B> GraphTraversal<A,B> mapValues()
GraphTraversal#mapValues()}
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,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)
GraphTraversal#select(Pop, String, String, String...)}
public static <A,B> GraphTraversal<A,Map<String,B>> select(String selectKey1, String selectKey2, String... otherSelectKeys)
GraphTraversal#select(String, String, String...)}
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,R> GraphTraversal<A,Map<K,R>> group()
GraphTraversal#group()}
public static <A,B> GraphTraversal<A,Map<B,Long>> groupCount()
GraphTraversal#groupCount()}
public static <A> GraphTraversal<A,Tree> tree()
GraphTraversal#tree()}
public static <A> GraphTraversal<A,Vertex> addV(Object... propertyKeyValues)
GraphTraversal#addV(Object...)}
public static <A> GraphTraversal<A,Edge> addE(Direction direction, String firstVertexKeyOrEdgeLabel, String edgeLabelOrSecondVertexKey, Object... propertyKeyValues)
GraphTraversal#addE(Direction, String, String, Object...)}
public static <A> GraphTraversal<A,Edge> addOutE(String firstVertexKeyOrEdgeLabel, String edgeLabelOrSecondVertexKey, Object... propertyKeyValues)
GraphTraversal#addOutE(String, String, Object...)}
public static <A> GraphTraversal<A,Edge> addInE(String firstVertexKeyOrEdgeLabel, String edgeLabelOrSecondVertexKey, Object... propertyKeyValues)
GraphTraversal#addInE(String, String, Object...)}
public static <A> GraphTraversal<A,A> filter(Predicate<Traverser<A>> predicate)
public static <A> GraphTraversal<A,A> filter(Traversal<?,?> filterTraversal)
public static <A> GraphTraversal<A,A> and(Traversal<?,?>... andTraversals)
public static <A> GraphTraversal<A,A> or(Traversal<?,?>... orTraversals)
public static <A> GraphTraversal<A,A> inject(A... injections)
public static <A> GraphTraversal<A,A> dedup(String... dedupLabels)
public static <A> GraphTraversal<A,A> dedup(Scope scope, String... dedupLabels)
public static <A> GraphTraversal<A,A> has(String propertyKey, P<?> predicate)
public static <A> GraphTraversal<A,A> has(T accessor, P<?> predicate)
public static <A> GraphTraversal<A,A> has(String propertyKey, Object value)
public static <A> GraphTraversal<A,A> has(T accessor, Object value)
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)
public static <A> GraphTraversal<A,A> has(String propertyKey, Traversal<?,?> propertyTraversal)
public static <A> GraphTraversal<A,A> has(String propertyKey)
public static <A> GraphTraversal<A,A> hasNot(String propertyKey)
public static <A> GraphTraversal<A,A> hasLabel(String... labels)
public static <A> GraphTraversal<A,A> hasId(Object... ids)
public static <A> GraphTraversal<A,A> hasKey(String... keys)
public static <A> GraphTraversal<A,A> hasValue(Object... values)
public static <A> GraphTraversal<A,A> where(String startKey, P<String> predicate)
public static <A> GraphTraversal<A,A> where(P<String> predicate)
public static <A> GraphTraversal<A,A> where(Traversal<?,?> whereTraversal)
public static <A> GraphTraversal<A,A> is(P<A> predicate)
public static <A> GraphTraversal<A,A> is(Object value)
public static <A> GraphTraversal<A,A> not(Traversal<?,?> notTraversal)
public static <A> GraphTraversal<A,A> coin(double probability)
public static <A> GraphTraversal<A,A> range(long low, long high)
public static <A> GraphTraversal<A,A> range(Scope scope, long low, long high)
public static <A> GraphTraversal<A,A> limit(long limit)
public static <A> GraphTraversal<A,A> limit(Scope scope, long limit)
public static <A> GraphTraversal<A,A> tail()
public static <A> GraphTraversal<A,A> tail(long limit)
public static <A> GraphTraversal<A,A> tail(Scope scope)
public static <A> GraphTraversal<A,A> tail(Scope scope, long limit)
public static <A> GraphTraversal<A,A> simplePath()
public static <A> GraphTraversal<A,A> cyclicPath()
public static <A> GraphTraversal<A,A> sample(int amountToSample)
public static <A> GraphTraversal<A,A> sample(Scope scope, int amountToSample)
public static <A> GraphTraversal<A,A> drop()
public static <A> GraphTraversal<A,A> sideEffect(Consumer<Traverser<A>> consumer)
public static <A> GraphTraversal<A,A> sideEffect(Traversal<?,?> sideEffectTraversal)
public static <A,B> GraphTraversal<A,B> cap(String sideEffectKey, String... sideEffectKeys)
public static <A> GraphTraversal<A,Edge> subgraph(String sideEffectKey)
public static <A> GraphTraversal<A,A> aggregate(String sideEffectKey)
public static <A> GraphTraversal<A,A> group(String sideEffectKey)
public static <A> GraphTraversal<A,A> groupCount(String sideEffectKey)
public static <A> GraphTraversal<A,A> timeLimit(long timeLimit)
public static <A> GraphTraversal<A,A> tree(String sideEffectKey)
public static <A,V> GraphTraversal<A,A> sack(BiFunction<V,A,V> sackFunction)
public static <A,V> GraphTraversal<A,A> sack(BinaryOperator<V> sackOperator, String elementPropertyKey)
public static <A> GraphTraversal<A,A> store(String sideEffectKey)
public static <A> GraphTraversal<A,A> property(String key, Object value, Object... keyValues)
public static <A> GraphTraversal<A,A> property(VertexProperty.Cardinality cardinality, String key, Object value, Object... keyValues)
public static <A,M,B> GraphTraversal<A,B> branch(Function<Traverser<A>,M> function)
public static <A,M,B> GraphTraversal<A,B> branch(Traversal<?,M> traversalFunction)
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)
public static <A,M,B> GraphTraversal<A,B> choose(Traversal<?,M> traversalFunction)
public static <A,M,B> GraphTraversal<A,B> choose(Traversal<?,M> traversalPredicate, Traversal<?,B> trueChoice, Traversal<?,B> falseChoice)
public static <A,B> GraphTraversal<A,B> union(Traversal<?,B>... traversals)
public static <A,B> GraphTraversal<A,B> coalesce(Traversal<?,B>... traversals)
public static <A> GraphTraversal<A,A> repeat(Traversal<?,A> traversal)
public static <A> GraphTraversal<A,A> emit(Traversal<?,?> emitTraversal)
public static <A> GraphTraversal<A,A> emit(Predicate<Traverser<A>> emitPredicate)
public static <A> GraphTraversal<A,A> until(Traversal<?,?> untilTraversal)
public static <A> GraphTraversal<A,A> until(Predicate<Traverser<A>> untilPredicate)
public static <A> GraphTraversal<A,A> times(int maxLoops)
public static <A> GraphTraversal<A,A> emit()
public static <A,B> GraphTraversal<A,B> local(Traversal<?,B> localTraversal)
public static <A> GraphTraversal<A,A> as(String label, String... labels)
public static <A> GraphTraversal<A,A> profile()
public static <A> GraphTraversal<A,A> barrier()
public static <A> GraphTraversal<A,A> barrier(int maxBarrierSize)
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.