|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsimpledb.record.RecordFormatter
class RecordFormatter
An object that can format a page to look like a block of empty records.
| Constructor Summary | |
|---|---|
RecordFormatter(TableInfo ti)
Creates a formatter for a new page of a table. |
|
| Method Summary | |
|---|---|
void |
format(Page page)
Formats the page by allocating as many record slots as possible, given the record length. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RecordFormatter(TableInfo ti)
ti - the table's metadata| 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 | |||||||||