Modifier and Type | Method and Description |
---|---|
Scope |
Scope.opposite() |
static Scope |
Scope.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Scope[] |
Scope.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
default GraphTraversal<S,E> |
GraphTraversal.aggregate(Scope scope,
String sideEffectKey)
|
static <A> GraphTraversal<A,A> |
__.aggregate(Scope scope,
String sideEffectKey) |
default GraphTraversal<S,Long> |
GraphTraversal.count(Scope scope)
Map the traversal stream to its reduction as a sum of the
Traverser.bulk() values given the specified
Scope (i.e. |
static <A> GraphTraversal<A,Long> |
__.count(Scope scope) |
default GraphTraversal<S,E> |
GraphTraversal.dedup(Scope scope,
String... dedupLabels)
Remove all duplicates in the traversal stream up to this point.
|
static <A> GraphTraversal<A,A> |
__.dedup(Scope scope,
String... dedupLabels) |
static <A> GraphTraversal<A,A> |
__.limit(Scope scope,
long limit) |
default <E2> GraphTraversal<S,E2> |
GraphTraversal.limit(Scope scope,
long limit)
Filter the objects in the traversal by the number of them to pass through the stream given the
Scope ,
where only the first n objects are allowed as defined by the limit argument. |
static <A,B extends Comparable> |
__.max(Scope scope) |
default <E2 extends Comparable> |
GraphTraversal.max(Scope scope)
Determines the largest value in the stream given the
Scope . |
static <A> GraphTraversal<A,Double> |
__.mean(Scope scope) |
default <E2 extends Number> |
GraphTraversal.mean(Scope scope)
Determines the mean value in the stream given the
Scope . |
static <A,B extends Comparable> |
__.min(Scope scope) |
default <E2 extends Comparable> |
GraphTraversal.min(Scope scope)
Determines the smallest value in the stream given the
Scope . |
default GraphTraversal<S,E> |
GraphTraversal.order(Scope scope)
Order either the
local object (e.g. |
static <A> GraphTraversal<A,A> |
__.order(Scope scope) |
static <A> GraphTraversal<A,A> |
__.range(Scope scope,
long low,
long high) |
default <E2> GraphTraversal<S,E2> |
GraphTraversal.range(Scope scope,
long low,
long high)
Filter the objects in the traversal by the number of them to pass through the stream as constrained by the
Scope . |
default GraphTraversal<S,E> |
GraphTraversal.sample(Scope scope,
int amountToSample)
Allow some specified number of objects to pass through the stream.
|
static <A> GraphTraversal<A,A> |
__.sample(Scope scope,
int amountToSample) |
static <A> GraphTraversal<A,A> |
__.skip(Scope scope,
long skip) |
default <E2> GraphTraversal<S,E2> |
GraphTraversal.skip(Scope scope,
long skip)
Filters out the first
n objects in the traversal. |
static <A> GraphTraversal<A,Double> |
__.sum(Scope scope) |
default <E2 extends Number> |
GraphTraversal.sum(Scope scope)
Map the traversal stream to its reduction as a sum of the
Traverser.get() values multiplied by their
Traverser.bulk() given the specified Scope (i.e. |
static <A> GraphTraversal<A,A> |
__.tail(Scope scope) |
default <E2> GraphTraversal<S,E2> |
GraphTraversal.tail(Scope scope)
Filters the objects in the traversal emitted as being last objects in the stream given the
Scope . |
static <A> GraphTraversal<A,A> |
__.tail(Scope scope,
long limit) |
default <E2> GraphTraversal<S,E2> |
GraphTraversal.tail(Scope scope,
long limit)
Filters the objects in the traversal emitted as being last objects in the stream given the
Scope . |
Modifier and Type | Method and Description |
---|---|
static <S> List<S> |
TraversalHelper.getStepsOfAssignableClassRecursively(Scope scope,
Class<S> stepClass,
Traversal.Admin<?,?> traversal) |
static boolean |
TraversalHelper.hasStepOfAssignableClassRecursively(Scope scope,
Class stepClass,
Traversal.Admin<?,?> traversal)
|
static boolean |
TraversalHelper.hasStepOfAssignableClassRecursively(Scope scope,
Collection<Class> stepClasses,
Traversal.Admin<?,?> traversal)
|
Modifier and Type | Field and Description |
---|---|
static EnumSerializer<Scope> |
EnumSerializer.ScopeSerializer |
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.