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 Detail
-
ReferenceBlock
public ReferenceBlock(long index, ReferenceBuffer buffer, int blockPosition, BlockType blockType)
-
ReferenceBlock
public ReferenceBlock(ReferenceBlock block)
-
-
Method Detail
-
reset
public void reset(long index, ReferenceBuffer buffer, int blockPosition, BlockType blockType)
-
copy
public ReferenceBlock 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
public ReferenceBuffer getBuffer()
-
setBuffer
public void setBuffer(ReferenceBuffer buffer)
-
getBlockPosition
public int getBlockPosition()
-
getBlockDataPosition
public int getBlockDataPosition()
-
getBlockType
public BlockType getBlockType()
-
-