org.neo4j.graphdb.traversal
Interface SideSelector

All Superinterfaces:
BranchSelector
All Known Implementing Classes:
AbstractSelectorOrderer, AlternatingSelectorOrderer, LevelSelectorOrderer

public interface SideSelector
extends BranchSelector

Dictates which side is the current side in a bidirectional traversal to traverse the next step for. For example an alternating side selector will return alternating start side and end side as long as each side hasn't reached it's end.

Author:
Mattias Persson

Method Summary
 Direction currentSide()
           
 
Methods inherited from interface org.neo4j.graphdb.traversal.BranchSelector
next
 

Method Detail

currentSide

Direction currentSide()
Returns:
the side to traverse next on, Direction.OUTGOING for start side and Direction.INCOMING for end side.


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