Class ReferenceBlock
java.lang.Object
org.teamapps.universaldb.index.reference.blockindex.ReferenceBlock
public class ReferenceBlock
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description ReferenceBlock(long index, ReferenceBuffer buffer, int blockPosition, BlockType blockType)ReferenceBlock(ReferenceBlock block) -
Method Summary
Modifier and Type Method Description ReferenceBlockcopy()intgetBlockDataPosition()intgetBlockEntryCount()intgetBlockPosition()BlockTypegetBlockType()ReferenceBuffergetBuffer()longgetIndex()longgetNextIndex()intgetRemainingEntries()longgetStartBlockLastIndex()longgetStartBlockNextIndex()intgetStartBlockTotalCount()intgetTotalEntryCount()voidreset(long index, ReferenceBuffer buffer, int blockPosition, BlockType blockType)voidsetBuffer(ReferenceBuffer buffer)
-
Constructor Details
-
Method Details
-
reset
-
copy
-
getTotalEntryCount
public int getTotalEntryCount() -
getBlockEntryCount
public int getBlockEntryCount() -
getRemainingEntries
public int getRemainingEntries() -
getNextIndex
public long getNextIndex() -
getStartBlockTotalCount
public int getStartBlockTotalCount() -
getStartBlockNextIndex
public long getStartBlockNextIndex() -
getStartBlockLastIndex
public long getStartBlockLastIndex() -
getIndex
public long getIndex() -
getBuffer
-
setBuffer
-
getBlockPosition
public int getBlockPosition() -
getBlockDataPosition
public int getBlockDataPosition() -
getBlockType
-