Class __
java.lang.Object
org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__
An anonymous
GraphTraversal.- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <A> GraphTraversal<A,A> __(A... starts) static <A> GraphTraversal<A,Edge> static <A> GraphTraversal<A,Edge> static <A> GraphTraversal<A,Edge> static <A extends Element>
GraphTraversal<A,A> static <A extends Element>
GraphTraversal<A,A> static <A> GraphTraversal<A,Vertex> addV()static <A> GraphTraversal<A,Vertex> static <A> GraphTraversal<A,Vertex> static <A> GraphTraversal<A,Vertex> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,Boolean> asBool()static <A> GraphTraversal<A,OffsetDateTime> asDate()static <A> GraphTraversal<A,Number> asNumber()static <A> GraphTraversal<A,Number> static <A> GraphTraversal<A,String> asString()static <A,B> GraphTraversal<A, B> static <A> GraphTraversal<A,A> barrier()static <A> GraphTraversal<A,A> barrier(int maxBarrierSize) static <A> GraphTraversal<A,A> barrier(Consumer<TraverserSet<Object>> barrierConsumer) static GraphTraversal<Vertex,Vertex> both()static GraphTraversal<Vertex,Vertex> static GraphTraversal<Vertex,Vertex> static GraphTraversal<Vertex,Edge> bothE()static GraphTraversal<Vertex,Edge> static GraphTraversal<Vertex,Edge> static GraphTraversal<Edge,Vertex> bothV()static <A,M, B> GraphTraversal<A, B> static <A,M, B> GraphTraversal<A, B> static <A,B> GraphTraversal<A, B> static <A,B> GraphTraversal<A, B> static <A,B> GraphTraversal<A, B> static <A,B> GraphTraversal<A, B> static <A,B> GraphTraversal<A, B> static <A,B> GraphTraversal<A, B> static <A,B> GraphTraversal<A, B> static <A,M, B> GraphTraversal<A, B> static <A,B> GraphTraversal<A, B> static <A,B> GraphTraversal<A, B> static <A,B> GraphTraversal<A, B> static <A,B> GraphTraversal<A, B> static <A,M, B> GraphTraversal<A, B> static <A,M, B> GraphTraversal<A, B> static <A,M, B> GraphTraversal<A, B> static <A,B> GraphTraversal<A, B> static <A,B> GraphTraversal<A, B> static <A> GraphTraversal<A,A> coin(double probability) static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,List<?>> static <A> GraphTraversal<A,String> static <A> GraphTraversal<A,String> static <A> GraphTraversal<A,String> static <A> GraphTraversal<A,A> constant(A a) static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,Long> count()static <A> GraphTraversal<A,Long> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,OffsetDateTime> static <A> GraphTraversal<A,Long> dateDiff(OffsetDateTime value) static <A> GraphTraversal<A,Long> Deprecated.static <A> GraphTraversal<A,Long> dateDiff(Traversal<?, OffsetDateTime> dateTraversal) static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,Set<?>> difference(Object values) static <A> GraphTraversal<A,A> discard()static <A> GraphTraversal<A,Set<?>> static <A> GraphTraversal<A,A> drop()static <A extends Element>
GraphTraversal<A,A> static <A extends Element>
GraphTraversal<A,A> static <A extends Element>
GraphTraversal<A,A> static <A> GraphTraversal<A,Edge> static <A> GraphTraversal<A,Edge> static <A,B> GraphTraversal<A, Element> element()static <A extends Element,B>
GraphTraversal<A,Map<Object, B>> elementMap(String... propertyKeys) static <A> GraphTraversal<A,A> emit()static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> fail()static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A,B> GraphTraversal<A, B> static <A,B> GraphTraversal<A, B> static <A> GraphTraversal<A,List<A>> fold()static <A,B> GraphTraversal<A, B> fold(B seed, BiFunction<B, A, B> foldFunction) static <A> GraphTraversal<A,String> static <A,K, V> GraphTraversal<A, Map<K, V>> group()static <A> GraphTraversal<A,A> static <A,K> GraphTraversal<A, Map<K, Long>> static <A> GraphTraversal<A,A> groupCount(String sideEffectKey) static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A extends Element>
GraphTraversal<A,Object> id()static <A> GraphTraversal<A,A> identity()static GraphTraversal<Vertex,Vertex> in()static GraphTraversal<Vertex,Vertex> static GraphTraversal<Vertex,Vertex> static <A,B> GraphTraversal<A, B> index()static GraphTraversal<Vertex,Edge> inE()static GraphTraversal<Vertex,Edge> static GraphTraversal<Vertex,Edge> static <A> GraphTraversal<A,A> inject(A... injections) static <A> GraphTraversal<A,Set<?>> static GraphTraversal<Edge,Vertex> inV()static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A extends Property>
GraphTraversal<A,String> key()static <A extends Element>
GraphTraversal<A,String> label()static <A extends Element>
GraphTraversal<A,String> labels()static <A> GraphTraversal<A,Integer> length()static <A,B> GraphTraversal<A, B> static <A> GraphTraversal<A,A> limit(long limit) static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A,B> GraphTraversal<A, B> static <A> GraphTraversal<A,Integer> loops()static <A> GraphTraversal<A,Integer> static <A> GraphTraversal<A,String> lTrim()static <A,B> GraphTraversal<A, B> static <A,B> GraphTraversal<A, B> static <A,B> GraphTraversal<A, B> static <A> GraphTraversal<A,Map<String, Object>> static <A> GraphTraversal<A,Map<String, Object>> static <A,B> GraphTraversal<A, Map<String, B>> Deprecated.As of release 4.0.0, replaced bymatch(String)for declarative pattern matching.static <A> GraphTraversal<A,Double> static <A,B extends Comparable>
GraphTraversal<A,B> max()static <A,B extends Comparable>
GraphTraversal<A,B> static <A> GraphTraversal<A,Double> mean()static <A> GraphTraversal<A,Double> static <A,B> GraphTraversal<A, B> static <A> GraphTraversal<A,Edge> mergeE()static <A> GraphTraversal<A,Edge> static <A> GraphTraversal<A,Edge> static <A> GraphTraversal<A,Edge> static <A> GraphTraversal<A,Vertex> mergeV()static <A> GraphTraversal<A,Vertex> static <A> GraphTraversal<A,Vertex> static <A> GraphTraversal<A,Vertex> static <A,B extends Comparable>
GraphTraversal<A,B> min()static <A,B extends Comparable>
GraphTraversal<A,B> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> order()static <A> GraphTraversal<A,A> static GraphTraversal<Edge,Vertex> otherV()static GraphTraversal<Vertex,Vertex> out()static GraphTraversal<Vertex,Vertex> static GraphTraversal<Vertex,Vertex> static GraphTraversal<Vertex,Edge> outE()static GraphTraversal<Vertex,Edge> static GraphTraversal<Vertex,Edge> static GraphTraversal<Edge,Vertex> outV()static <A> GraphTraversal<A,Path> path()static <A> GraphTraversal<A,List<List<?>>> static <A,B> GraphTraversal<A, Map<String, B>> static <A extends Element,B>
GraphTraversal<A,? extends Property<B>> properties(String... propertyKeys) static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> property(VertexProperty.Cardinality cardinality, Object key, Object value, Object... keyValues) static <A extends Element,B>
GraphTraversal<A,Map<String, B>> propertyMap(String... propertyKeys) static <A> GraphTraversal<A,A> range(long low, long high) static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,String> static <A,B> GraphTraversal<A, B> static <A,B> GraphTraversal<A, B> reverse()static <A> GraphTraversal<A,String> rTrim()static <A,B> GraphTraversal<A, B> 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> static <A,B> GraphTraversal<A, B> static <A,B> GraphTraversal<A, Map<String, B>> static <A,B> GraphTraversal<A, B> static <A,B> GraphTraversal<A, Map<String, B>> static <A,B> GraphTraversal<A, B> static <A,B> GraphTraversal<A, B> static <A,B> GraphTraversal<A, Collection<B>> static <A> GraphTraversal<A,A> sideEffect(Consumer<Traverser<A>> consumer) static <A> GraphTraversal<A,A> sideEffect(Traversal<?, ?> sideEffectTraversal) static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> skip(long skip) static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,List<String>> static <A,B> GraphTraversal<A, List<B>> static <A> GraphTraversal<A,A> start()static <A> GraphTraversal<A,Edge> static <A> GraphTraversal<A,String> substring(int startIndex) static <A> GraphTraversal<A,String> substring(int startIndex, int endIndex) static <A,B> GraphTraversal<A, B> static <A,B> GraphTraversal<A, B> static <A> GraphTraversal<A,Double> sum()static <A> GraphTraversal<A,Double> static <A> GraphTraversal<A,A> tail()static <A> GraphTraversal<A,A> tail(long limit) static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> timeLimit(long timeLimit) static <A> GraphTraversal<A,A> times(int maxLoops) static GraphTraversal<Vertex,Vertex> static GraphTraversal<Vertex,Vertex> static GraphTraversal<Vertex,Vertex> static GraphTraversal<Vertex,Edge> static GraphTraversal<Vertex,Edge> static GraphTraversal<Vertex,Edge> static <A> GraphTraversal<A,String> toLower()static <A,B> GraphTraversal<A, B> static <A> GraphTraversal<A,String> toUpper()static <A,B> GraphTraversal<A, B> static GraphTraversal<Edge,Vertex> static <A> GraphTraversal<A,Tree> tree()static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,String> trim()static <A,B> GraphTraversal<A, B> static <A> GraphTraversal<A,A> unfold()static <A,B> GraphTraversal<A, B> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,Vertex> static <A> GraphTraversal<A,Vertex> static <A extends Property,B>
GraphTraversal<A,B> value()static <A extends Element,B>
GraphTraversal<A,Map<Object, B>> Deprecated.As of release 3.4.0, deprecated in favor ofvalueMap(String...)in conjunction withGraphTraversal.with(String, Object).static <A extends Element,B>
GraphTraversal<A,Map<Object, B>> static <A extends Element,B>
GraphTraversal<A,B> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A> static <A> GraphTraversal<A,A>
-
Constructor Details
-
__
protected __()
-
-
Method Details
-
start
-
__
-
map
- See Also:
-
map
- See Also:
-
flatMap
- See Also:
-
flatMap
- See Also:
-
identity
- See Also:
-
constant
- See Also:
-
constant
- See Also:
-
label
- See Also:
-
labels
- See Also:
-
addLabel
-
addLabel
public static <A extends Element> GraphTraversal<A,A> addLabel(Traversal<?, ?> labelTraversal, Traversal<?, ?>... moreLabelTraversals) -
dropLabels
- See Also:
-
dropLabel
-
dropLabel
-
id
- See Also:
-
V
- See Also:
-
V
- See Also:
-
E
- See Also:
-
E
- See Also:
-
to
- See Also:
-
to
- See Also:
-
to
- See Also:
-
out
- See Also:
-
out
- See Also:
-
out
- See Also:
-
in
- See Also:
-
in
- See Also:
-
in
- See Also:
-
both
- See Also:
-
both
- See Also:
-
both
- See Also:
-
toE
- See Also:
-
toE
- See Also:
-
toE
- See Also:
-
outE
- See Also:
-
outE
- See Also:
-
outE
- See Also:
-
inE
- See Also:
-
inE
- See Also:
-
inE
- See Also:
-
bothE
- See Also:
-
bothE
- See Also:
-
bothE
- See Also:
-
toV
- See Also:
-
inV
- See Also:
-
outV
- See Also:
-
bothV
- See Also:
-
otherV
- See Also:
-
order
- See Also:
-
order
- See Also:
-
properties
public static <A extends Element,B> GraphTraversal<A,? extends Property<B>> properties(String... propertyKeys) - See Also:
-
values
- See Also:
-
propertyMap
public static <A extends Element,B> GraphTraversal<A,Map<String, propertyMapB>> (String... propertyKeys) - See Also:
-
elementMap
public static <A extends Element,B> GraphTraversal<A,Map<Object, elementMapB>> (String... propertyKeys) - See Also:
-
valueMap
public static <A extends Element,B> GraphTraversal<A,Map<Object, valueMapB>> (String... propertyKeys) - See Also:
-
valueMap
@Deprecated public static <A extends Element,B> GraphTraversal<A,Map<Object, valueMapB>> (boolean includeTokens, String... propertyKeys) Deprecated.As of release 3.4.0, deprecated in favor ofvalueMap(String...)in conjunction withGraphTraversal.with(String, Object). -
project
public static <A,B> GraphTraversal<A,Map<String, projectB>> (String projectKey, String... projectKeys) -
select
- See Also:
-
key
- See Also:
-
value
- See Also:
-
path
- See Also:
-
match
@Deprecated public static <A,B> GraphTraversal<A,Map<String, matchB>> (Traversal<?, ?>... matchTraversals) Deprecated.As of release 4.0.0, replaced bymatch(String)for declarative pattern matching.- See Also:
-
match
- See Also:
-
match
-
sack
- See Also:
-
loops
- See Also:
-
loops
- See Also:
-
select
- See Also:
-
select
- See Also:
-
select
-
select
-
select
- See Also:
-
select
- See Also:
-
unfold
- See Also:
-
fold
- See Also:
-
fold
- See Also:
-
count
- See Also:
-
count
- See Also:
-
sum
- See Also:
-
sum
- See Also:
-
min
- See Also:
-
min
- See Also:
-
max
- See Also:
-
max
- See Also:
-
mean
- See Also:
-
mean
- See Also:
-
group
- See Also:
-
groupCount
- See Also:
-
tree
- See Also:
-
addV
- See Also:
-
addV
@SafeVarargs public static <A> GraphTraversal<A,Vertex> addV(GValue<String> label, GValue<String>... additionalLabels) - See Also:
-
addV
public static <A> GraphTraversal<A,Vertex> addV(Traversal<?, ?> label, Traversal<?, ?>... additionalLabels) -
addV
- See Also:
-
mergeV
- See Also:
-
mergeV
- See Also:
-
mergeV
- See Also:
-
mergeV
- See Also:
-
addE
- See Also:
-
addE
- See Also:
-
addE
- See Also:
-
mergeE
- See Also:
-
mergeE
- See Also:
-
mergeE
- See Also:
-
mergeE
- See Also:
-
math
- See Also:
-
concat
-
concat
- See Also:
-
asString
- See Also:
-
asString
- See Also:
-
length
- See Also:
-
length
- See Also:
-
toLower
- See Also:
-
toLower
- See Also:
-
toUpper
- See Also:
-
toUpper
- See Also:
-
trim
- See Also:
-
trim
- See Also:
-
lTrim
- See Also:
-
lTrim
- See Also:
-
rTrim
- See Also:
-
rTrim
- See Also:
-
reverse
- See Also:
-
replace
- See Also:
-
replace
-
split
- See Also:
-
split
- See Also:
-
substring
- See Also:
-
substring
- See Also:
-
substring
- See Also:
-
substring
-
format
- See Also:
-
asBool
- See Also:
-
asDate
- See Also:
-
asNumber
- See Also:
-
asNumber
- See Also:
-
dateAdd
- See Also:
-
dateDiff
Deprecated.As of release 3.8.0, deprecated in favor ofGraphTraversal.dateDiff(OffsetDateTime).- See Also:
-
dateDiff
- See Also:
-
dateDiff
- See Also:
-
difference
- See Also:
-
discard
- See Also:
-
disjunct
- See Also:
-
intersect
- See Also:
-
conjoin
- See Also:
-
merge
- See Also:
-
combine
- See Also:
-
product
- See Also:
-
filter
- See Also:
-
filter
- See Also:
-
and
- See Also:
-
or
- See Also:
-
inject
- See Also:
-
dedup
- See Also:
-
dedup
- See Also:
-
has
- See Also:
-
has
- See Also:
-
has
- See Also:
-
has
- See Also:
-
has
- See Also:
-
has
- See Also:
-
has
-
has
- See Also:
-
has
-
has
- See Also:
-
has
public static <A> GraphTraversal<A,A> has(String label, String propertyKey, Traversal<?, ?> traversal) -
has
- See Also:
-
hasNot
- See Also:
-
hasLabel
-
hasLabel
-
hasLabel
- See Also:
-
hasLabel
- See Also:
-
hasId
- See Also:
-
hasId
- See Also:
-
hasKey
- See Also:
-
hasKey
- See Also:
-
hasKey
- See Also:
-
hasValue
-
hasValue
- See Also:
-
hasValue
- See Also:
-
where
- See Also:
-
where
- See Also:
-
where
- See Also:
-
is
- See Also:
-
is
- See Also:
-
not
- See Also:
-
coin
- See Also:
-
coin
- See Also:
-
range
- See Also:
-
range
- See Also:
-
range
- See Also:
-
range
-
limit
- See Also:
-
limit
- See Also:
-
limit
- See Also:
-
limit
- See Also:
-
skip
- See Also:
-
skip
- See Also:
-
skip
- See Also:
-
skip
- See Also:
-
tail
- See Also:
-
tail
- See Also:
-
tail
- See Also:
-
tail
- See Also:
-
tail
- See Also:
-
tail
- See Also:
-
simplePath
- See Also:
-
cyclicPath
- See Also:
-
sample
- See Also:
-
sample
- See Also:
-
drop
- See Also:
-
all
- See Also:
-
any
- See Also:
-
none
- See Also:
-
sideEffect
- See Also:
-
sideEffect
- See Also:
-
cap
- See Also:
-
subgraph
- See Also:
-
aggregate
- See Also:
-
fail
- See Also:
-
fail
- See Also:
-
group
- See Also:
-
groupCount
- See Also:
-
timeLimit
- See Also:
-
tree
- See Also:
-
sack
- See Also:
-
property
-
property
public static <A> GraphTraversal<A,A> property(VertexProperty.Cardinality cardinality, Object key, Object value, Object... keyValues) -
property
- See Also:
-
property
- See Also:
-
branch
- See Also:
-
branch
- See Also:
-
choose
public static <A,B> GraphTraversal<A,B> choose(Predicate<A> choosePredicate, Traversal<?, B> trueChoice, Traversal<?, B> falseChoice) -
choose
public static <A,B> GraphTraversal<A,B> choose(P<A> choosePredicate, Traversal<?, B> trueChoice, Traversal<?, B> falseChoice) -
choose
public static <A,B> GraphTraversal<A,B> choose(Predicate<A> choosePredicate, Traversal<?, B> trueChoice) -
choose
- See Also:
-
choose
- See Also:
-
choose
- See Also:
-
choose
- See Also:
-
choose
public static <A,M, GraphTraversal<A,B> B> choose(Traversal<?, M> traversalPredicate, Traversal<?, B> trueChoice, Traversal<?, B> falseChoice) -
choose
public static <A,M, GraphTraversal<A,B> B> choose(Traversal<?, M> traversalPredicate, Traversal<?, B> trueChoice) -
optional
- See Also:
-
union
- See Also:
-
coalesce
- See Also:
-
repeat
- See Also:
-
repeat
- See Also:
-
emit
- See Also:
-
emit
- See Also:
-
until
- See Also:
-
until
- See Also:
-
times
- See Also:
-
emit
- See Also:
-
local
- See Also:
-
as
- See Also:
-
barrier
- See Also:
-
barrier
- See Also:
-
barrier
- See Also:
-
index
- See Also:
-
element
- See Also:
-
call
- See Also:
-
call
- See Also:
-
call
- See Also:
-
call
- See Also:
-
call
public static <A,B> GraphTraversal<A,B> call(String service, Map params, Traversal<?, Map<?, ?>> childTraversal) -
call
-
GraphTraversal.dateDiff(OffsetDateTime).