|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsimpledb.index.btree.BTPageFormatter
public class BTPageFormatter
An object that can format a page to look like an empty B-tree block.
| Constructor Summary | |
|---|---|
BTPageFormatter(TableInfo ti,
int flag)
Creates a formatter for a new page of the specified B-tree index. |
|
| Method Summary | |
|---|---|
void |
format(Page page)
Formats the page by initializing as many index-record slots as possible to have default values. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BTPageFormatter(TableInfo ti,
int flag)
ti - the index's metadataflag - the page's initial flag value| Method Detail |
|---|
public void format(Page page)
format in interface PageFormatterpage - a buffer pagePageFormatter.format(simpledb.file.Page)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||