org.neo4j.kernel.impl.util
Class CombinedRelIdIterator

java.lang.Object
  extended by org.neo4j.kernel.impl.util.CombinedRelIdIterator
All Implemented Interfaces:
RelIdIterator

public class CombinedRelIdIterator
extends Object
implements RelIdIterator


Constructor Summary
CombinedRelIdIterator(String type, RelIdArray.DirectionWrapper direction, RelIdArray src, RelIdArray add, Collection<Long> remove)
           
 
Method Summary
 void doAnotherRound()
          Tells this iterator to try another round with all its directions starting from each their previous states.
 RelIdArray getIds()
           
 String getType()
           
 boolean hasNext()
           
 long next()
           
 RelIdIterator updateSource(RelIdArray newSource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CombinedRelIdIterator

public CombinedRelIdIterator(String type,
                             RelIdArray.DirectionWrapper direction,
                             RelIdArray src,
                             RelIdArray add,
                             Collection<Long> remove)
Method Detail

getType

public String getType()
Specified by:
getType in interface RelIdIterator

getIds

public RelIdArray getIds()
Specified by:
getIds in interface RelIdIterator

updateSource

public RelIdIterator updateSource(RelIdArray newSource)
Specified by:
updateSource in interface RelIdIterator

hasNext

public boolean hasNext()
Specified by:
hasNext in interface RelIdIterator

doAnotherRound

public void doAnotherRound()
Description copied from interface: RelIdIterator
Tells this iterator to try another round with all its directions starting from each their previous states. Called from IntArrayIterator, when it finds out it has gotten more relationships of this type.

Specified by:
doAnotherRound in interface RelIdIterator

next

public long next()
Specified by:
next in interface RelIdIterator


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