Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.neo4j.graphdb.traversal
Interface PruneEvaluator

Deprecated. becuase 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
`static PruneEvaluator` | `NONE` Deprecated. Default `PruneEvaluator`, does not prune any parts of the traversal.

Method Summary
`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`.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011 The Neo4j Graph Database Project. All Rights Reserved.