org.neo4j.kernel.impl.util
Class RelIdArrayWithLoops
java.lang.Object
org.neo4j.kernel.impl.util.RelIdArray
org.neo4j.kernel.impl.util.RelIdArrayWithLoops
public class RelIdArrayWithLoops
- extends RelIdArray
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RelIdArrayWithLoops
public RelIdArrayWithLoops(String type)
RelIdArrayWithLoops
protected RelIdArrayWithLoops(RelIdArray from)
RelIdArrayWithLoops
protected RelIdArrayWithLoops(String type,
RelIdArray.IdBlock out,
RelIdArray.IdBlock in,
RelIdArray.IdBlock loop)
getLastLoopBlock
protected RelIdArray.IdBlock getLastLoopBlock()
- Overrides:
getLastLoopBlock in class RelIdArray
setLastLoopBlock
protected void setLastLoopBlock(RelIdArray.IdBlock block)
- Overrides:
setLastLoopBlock in class RelIdArray
upgradeIfNeeded
public RelIdArray upgradeIfNeeded(RelIdArray capabilitiesToMatch)
- Overrides:
upgradeIfNeeded in class RelIdArray
downgradeIfPossible
public RelIdArray downgradeIfPossible()
- Overrides:
downgradeIfPossible in class RelIdArray
addAll
public RelIdArray addAll(RelIdArray source)
- Overrides:
addAll in class RelIdArray
newSimilarInstance
public RelIdArray newSimilarInstance()
- Overrides:
newSimilarInstance in class RelIdArray
couldBeNeedingUpdate
public boolean couldBeNeedingUpdate()
- Description copied from class:
RelIdArray
- Optimization in the lazy loading of relationships for a node.
RelIdIterator.updateSource(RelIdArray) is only called if
this returns true, i.e if a RelIdArray.EmptyRelIdArray or RelIdArray.IdBlock might have
gotten upgraded to handle f.ex loops or high id ranges so that the
RelIdIterator gets updated accordingly.
- Overrides:
couldBeNeedingUpdate in class RelIdArray
shrink
public RelIdArray shrink()
- Overrides:
shrink in class RelIdArray
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.