Neo4j

org.neo4j.graphdb.traversal
Interface PruneEvaluator


Deprecated. because of the introduction of Evaluator which combines PruneEvaluator and filtering (Predicate of Paths).

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.

Neo4j

Copyright © 2002-2014 The Neo4j Graph Database Project. All Rights Reserved.