| com.jofti.btree.IPage
All known Subclasses: com.jofti.store.CachedPage, com.jofti.store.Page,
IPage | public interface IPage (Code) | |
Defines the operations for a disk page. The page wraps the structure of the entries allowing
flexibility in usage in the nodes.
author: xenephon version: 1.2 |
copyBuffer | public ByteBuffer copyBuffer(ByteBuffer newBuf)(Code) | | |
getBuffer | public ByteBuffer getBuffer()(Code) | | |
getEntry | public LeafNodeEntry getEntry(int position)(Code) | | Returns the entry at the specified position or null if none exists.
Parameters: position - The leafNode Entry. |
getPointers | public int[] getPointers()(Code) | | |
removeEntry | public void removeEntry(int position)(Code) | | Removes an entry at the specified position. Larger entries are shuffled down by 1 position.
Parameters: position - |
reset | public void reset()(Code) | | |
setEntry | public void setEntry(int position, LeafNodeEntry entry)(Code) | |
Sets an entry at the specified position. The current entry (if any) and adjacent entries are shuffled up by a position of
1.
Parameters: position - Parameters: entry - |
|
|