java.lang.Object
org.bitlap.roaringbitmap.art.AbstractShuttle
- 所有已实现的接口:
Shuttle
- 直接已知子类:
BackwardShuttle,ForwardShuttle
visit the art tree's space through a stack which records the deep first visiting paths.
-
字段概要
字段修饰符和类型字段说明protected Artprotected Containersprotected intprotected booleanprotected static final intprotected org.bitlap.roaringbitmap.art.AbstractShuttle.NodeEntry[] -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected abstract intboundaryNodePosition(Node node, boolean inRunDirection) protected abstract booleancurrentBeforeHigh(byte[] current, byte[] high) get the current LeafNode after calling the method moveToNextLeafvoidshould be called firstly before calling other methodsvoidinitShuttleFrom(long key) Call this instead of initShuttle, if the iterator should start from a bound (upper/lower depending on direction)booleanprotected abstract booleanprefixMismatchIsInRunDirection(byte nodeValue, byte highValue) voidremove()remove the current visiting LeafNode and its corresponding value containerprotected abstract intsearchMissNextPosition(org.bitlap.roaringbitmap.art.SearchResult result) protected abstract intvisitedNodeNextPosition(Node node, int pos)
-
字段详细资料
-
MAX_DEPTH
protected static final int MAX_DEPTH- 另请参阅:
-
stack
protected org.bitlap.roaringbitmap.art.AbstractShuttle.NodeEntry[] stack -
depth
protected int depth -
hasRun
protected boolean hasRun -
art
-
containers
-
-
构造器详细资料
-
AbstractShuttle
-
-
方法详细资料
-
initShuttle
public void initShuttle()从接口复制的说明:Shuttleshould be called firstly before calling other methods- 指定者:
initShuttle在接口中Shuttle
-
initShuttleFrom
public void initShuttleFrom(long key) 从接口复制的说明:ShuttleCall this instead of initShuttle, if the iterator should start from a bound (upper/lower depending on direction)- 指定者:
initShuttleFrom在接口中Shuttle- 参数:
key- the upper/lower bound to start from
-
currentBeforeHigh
protected abstract boolean currentBeforeHigh(byte[] current, byte[] high) -
moveToNextLeaf
public boolean moveToNextLeaf()- 指定者:
moveToNextLeaf在接口中Shuttle- 返回:
- true: has a LeafNode, false: has no LeafNode
-
visitedNodeNextPosition
-
getCurrentLeafNode
从接口复制的说明:Shuttleget the current LeafNode after calling the method moveToNextLeaf- 指定者:
getCurrentLeafNode在接口中Shuttle- 返回:
- the current visiting LeafNode
-
remove
public void remove()从接口复制的说明:Shuttleremove the current visiting LeafNode and its corresponding value container -
boundaryNodePosition
-
prefixMismatchIsInRunDirection
protected abstract boolean prefixMismatchIsInRunDirection(byte nodeValue, byte highValue) -
searchMissNextPosition
protected abstract int searchMissNextPosition(org.bitlap.roaringbitmap.art.SearchResult result)
-