PruneEvaluator (Neo4j Community 2.1.0-M01 API)
Date: 2014-02-20

org.neo4j.graphdb.traversal

## Interface PruneEvaluator

- Deprecated.
  because of the introduction of `Evaluator` which combines `PruneEvaluator` and filtering (`Predicate` of `Path`s).

      public interface PruneEvaluator

  An evaluator which can "cut off" relationships so that they will not be traversed in the ongoing traversal. For any given position a prune evaluator can decide whether or not to prune whatever is beyond (i.e. after) that position or not.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static PruneEvaluator` | `NONE` Deprecated. Default `PruneEvaluator`, does not prune any parts of the traversal.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `pruneAfter(Path position)` Deprecated. Decides whether or not to prune after `position`.

- - ### Field Detail

    - #### NONE

          static final PruneEvaluator NONE

      Deprecated.
      Default `PruneEvaluator`, does not prune any parts of the traversal.

  - ### Method Detail

    - #### pruneAfter

          boolean pruneAfter(Path position)

      Deprecated.
      Decides whether or not to prune after `position`. If `true` is returned the position won't be expanded and traversals won't be made beyond that position.
      Parameters:
        `position` - the `position` to decide whether or not to prune after.
      Returns:
        whether or not to prune after `position`.

Copyright © 2002–2014 The Neo4j Graph Database Project. All rights reserved.