|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimpledb.index.btree.BTreeDir
public class BTreeDir
A B-tree directory block.
Method Summary | |
---|---|
void |
close()
Closes the directory page. |
DirEntry |
insert(DirEntry e)
Inserts a new directory entry into the B-tree block. |
void |
makeNewRoot(DirEntry e)
Creates a new root block for the B-tree. |
int |
search(Constant searchkey)
Returns the block number of the B-tree leaf block that contains the specified search key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void close()
public int search(Constant searchkey)
searchkey
- the search key value
public void makeNewRoot(DirEntry e)
e
- the directory entry to be added as a child of the new rootpublic DirEntry insert(DirEntry e)
e
- the directory entry to be inserted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |