## Uses of Class
org.apache.tinkerpop.gremlin.process.traversal.Scope

- Packages that use Scope
  Package | Description
  --- | ---
  org.apache.tinkerpop.gremlin.driver.ser.binary.types |
  org.apache.tinkerpop.gremlin.process.traversal |
  org.apache.tinkerpop.gremlin.process.traversal.dsl.graph |
  org.apache.tinkerpop.gremlin.process.traversal.util |

- - ### Uses of Scope in org.apache.tinkerpop.gremlin.driver.ser.binary.types

    Fields in org.apache.tinkerpop.gremlin.driver.ser.binary.types with type parameters of type Scope
    Modifier and Type | Field and Description
    --- | ---
    `static EnumSerializer<Scope>` | EnumSerializer.`ScopeSerializer`

  - ### Uses of Scope in org.apache.tinkerpop.gremlin.process.traversal

    Methods in org.apache.tinkerpop.gremlin.process.traversal that return Scope
    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.

  - ### Uses of Scope in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph

    Methods in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph with parameters of type Scope
    Modifier and Type | Method and Description
    --- | ---
    `default GraphTraversal<S,E>` | GraphTraversal.`aggregate(Scope scope, String sideEffectKey)` Collects objects in a list using the `Scope` argument to determine whether it should be lazy `local` or eager (`global` while gathering those objects.
    `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> GraphTraversal<A,B>` | __.`max(Scope scope)`
    `default <E2 extends Comparable> GraphTraversal<S,E2>` | 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<S,E2>` | GraphTraversal.`mean(Scope scope)` Determines the mean value in the stream given the `Scope`.
    `static <A,B extends Comparable> GraphTraversal<A,B>` | __.`min(Scope scope)`
    `default <E2 extends Comparable> GraphTraversal<S,E2>` | 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<S,E2>` | 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`.

  - ### Uses of Scope in org.apache.tinkerpop.gremlin.process.traversal.util

    Methods in org.apache.tinkerpop.gremlin.process.traversal.util with parameters of type 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)` Determine if the traversal has a step of an assignable class in the current `Traversal` and its `Scope` child traversals.
    `static boolean` | TraversalHelper.`hasStepOfAssignableClassRecursively(Scope scope, Collection<Class> stepClasses, Traversal.Admin<?,?> traversal)` Determine if the traversal has any of the supplied steps of an assignable class in the current `Traversal` and its `Scope` child traversals.

Copyright © 2013–2019 Apache Software Foundation. All rights reserved.