Package herddb.index.blink
Interface BLinkIndexDataStorage<X,Y>
-
public interface BLinkIndexDataStorage<X,Y>- Author:
- diego.salvi
-
-
Field Summary
Fields Modifier and Type Field Description static longNEW_PAGE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longcreateLeafPage(Map<X,Y> data)Create a new leaf node page for given data.longcreateNodePage(Map<X,Long> data)Create a new internal node page for given data.voidloadLeafPage(long pageId, Map<X,Y> data)Load a leaf node data page.voidloadNodePage(long pageId, Map<X,Long> data)Load an internal node data page.voidoverwriteLeafPage(long pageId, Map<X,Y> data)Overwrite an existing leaf node page with given data.voidoverwriteNodePage(long pageId, Map<X,Long> data)Overwrite an existing internal node page with given data.
-
-
-
Field Detail
-
NEW_PAGE
static final long NEW_PAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
loadNodePage
void loadNodePage(long pageId, Map<X,Long> data) throws IOExceptionLoad an internal node data page.- Throws:
IOException
-
loadLeafPage
void loadLeafPage(long pageId, Map<X,Y> data) throws IOExceptionLoad a leaf node data page.- Throws:
IOException
-
createNodePage
long createNodePage(Map<X,Long> data) throws IOException
Create a new internal node page for given data.- Throws:
IOException
-
createLeafPage
long createLeafPage(Map<X,Y> data) throws IOException
Create a new leaf node page for given data.- Throws:
IOException
-
overwriteNodePage
void overwriteNodePage(long pageId, Map<X,Long> data) throws IOExceptionOverwrite an existing internal node page with given data.- Throws:
IOException
-
overwriteLeafPage
void overwriteLeafPage(long pageId, Map<X,Y> data) throws IOExceptionOverwrite an existing leaf node page with given data.- Throws:
IOException
-
-