Package com.arcadedb.index.lsm
Class LSMTreeIndexUnderlyingPageCursor
- java.lang.Object
-
- com.arcadedb.index.lsm.LSMTreeIndexUnderlyingAbstractCursor
-
- com.arcadedb.index.lsm.LSMTreeIndexUnderlyingPageCursor
-
public class LSMTreeIndexUnderlyingPageCursor extends LSMTreeIndexUnderlyingAbstractCursor
-
-
Field Summary
Fields Modifier and Type Field Description protected Binary
buffer
protected int
currentEntryIndex
protected int
keyStartPosition
protected Object[]
nextKeys
protected RID[]
nextValue
protected PageId
pageId
protected int
valuePosition
-
Fields inherited from class com.arcadedb.index.lsm.LSMTreeIndexUnderlyingAbstractCursor
ascendingOrder, index, keyTypes, serializer, totalKeys
-
-
Constructor Summary
Constructors Constructor Description LSMTreeIndexUnderlyingPageCursor(LSMTreeIndexAbstract index, BasePage page, int currentEntryInPage, int keyStartPosition, byte[] keyTypes, int totalKeys, boolean ascendingOrder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PageId
getCurrentPageId()
int
getCurrentPositionInPage()
Object[]
getKeys()
RID[]
getValue()
boolean
hasNext()
void
next()
-
Methods inherited from class com.arcadedb.index.lsm.LSMTreeIndexUnderlyingAbstractCursor
close
-
-
-
-
Field Detail
-
pageId
protected final PageId pageId
-
buffer
protected final Binary buffer
-
keyStartPosition
protected final int keyStartPosition
-
currentEntryIndex
protected int currentEntryIndex
-
valuePosition
protected int valuePosition
-
nextKeys
protected Object[] nextKeys
-
nextValue
protected RID[] nextValue
-
-
Constructor Detail
-
LSMTreeIndexUnderlyingPageCursor
public LSMTreeIndexUnderlyingPageCursor(LSMTreeIndexAbstract index, BasePage page, int currentEntryInPage, int keyStartPosition, byte[] keyTypes, int totalKeys, boolean ascendingOrder)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in classLSMTreeIndexUnderlyingAbstractCursor
-
next
public void next()
- Specified by:
next
in classLSMTreeIndexUnderlyingAbstractCursor
-
getKeys
public Object[] getKeys()
- Specified by:
getKeys
in classLSMTreeIndexUnderlyingAbstractCursor
-
getValue
public RID[] getValue()
- Specified by:
getValue
in classLSMTreeIndexUnderlyingAbstractCursor
-
getCurrentPageId
public PageId getCurrentPageId()
- Specified by:
getCurrentPageId
in classLSMTreeIndexUnderlyingAbstractCursor
-
getCurrentPositionInPage
public int getCurrentPositionInPage()
- Specified by:
getCurrentPositionInPage
in classLSMTreeIndexUnderlyingAbstractCursor
-
-