public interface IDataBlock
| Modifier and Type | Method and Description | 
|---|---|
byte | 
getBits()  | 
byte[] | 
getData()  | 
int | 
getIndexInDataBlockPage()  | 
int | 
getIndexInLeafPage()  | 
int | 
getMaxDataSize()  | 
int | 
getMinDataSize()  | 
long | 
getNextFreeDataBlockPositionOfFree()
make sense to be call only if this is a free data block 
 | 
LeafPage | 
getParentLeafPage()  | 
long | 
getPositionInFile()  | 
void | 
setData(byte[] data)  | 
void | 
setNextFreeDataBlockPositionOfFree(long nextFreeDataBlockPosition)
the next free data block position is wrote on data, must be call only if
 this is a free data block 
 | 
void | 
setParent(LeafPage parentLeafPage,
         int indexInLeafPage)  | 
long getPositionInFile()
void setData(byte[] data)
             throws HeapException
HeapExceptionbyte[] getData()
               throws HeapException
HeapExceptionvoid setNextFreeDataBlockPositionOfFree(long nextFreeDataBlockPosition)
                                        throws HeapException
nextFreeDataBlockPosition - HeapExceptionlong getNextFreeDataBlockPositionOfFree()
                                        throws HeapException
HeapExceptionint getMinDataSize()
int getMaxDataSize()
byte getBits()
int getIndexInDataBlockPage()
void setParent(LeafPage parentLeafPage, int indexInLeafPage)
LeafPage getParentLeafPage()
int getIndexInLeafPage()
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.