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

- Packages that use Scope
  Package | Description
  --- | ---
  org.apache.tinkerpop.gremlin.process.traversal |
  org.apache.tinkerpop.gremlin.process.traversal.dsl.graph |

- - ### 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.
    `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.
    `default GraphTraversal<S,E>` | GraphTraversal.`dedup(Scope scope, String... dedupLabels)` Remove all duplicates in the traversal stream up to this point.
    `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.
    `default <E2 extends Comparable> GraphTraversal<S,E2>` | GraphTraversal.`max(Scope scope)` Determines the largest value in the stream given the `Scope`.
    `default <E2 extends Number> GraphTraversal<S,E2>` | GraphTraversal.`mean(Scope scope)` Determines the mean value in the stream given the `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.
    `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.
    `default <E2> GraphTraversal<S,E2>` | GraphTraversal.`skip(Scope scope, long skip)` Filters out the first `n` objects in the traversal.
    `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.
    `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`.
    `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`.

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