public class D_StoredPage extends java.lang.Object implements Diagnosticable
Modifier and Type | Field and Description |
---|---|
protected StoredPage |
page |
Constructor and Description |
---|
D_StoredPage() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkSlotTable(java.io.PrintStream out)
Checks the slot table.
|
void |
diag_detail(java.util.Properties prop)
Provide detailed diagnostic information about a StoredPage.
|
java.lang.String |
diag()
Provide a string dump of the StoredPage.
|
void |
init(java.lang.Object obj) |
java.lang.String |
pageHeaderToString() |
protected StoredPage page
public void init(java.lang.Object obj)
init
in interface Diagnosticable
public java.lang.String diag() throws StandardException
RESOLVE - once the "Diagnostic" interface is accepted move the string dumping code into this routine from it's current place in the StoredPage code.
diag
in interface Diagnosticable
StandardException
- Standard exception policy.public void diag_detail(java.util.Properties prop) throws StandardException
Currently supports 3 types of information: Page.DIAG_PAGE_SIZE - page size. Page.DIAG_BTYES_FREE - # of free bytes on the page. Page.DIAG_BYTES_RESERVED - # of reserved bytes on the page.
diag_detail
in interface Diagnosticable
StandardException
- Standard exception policy.public boolean checkSlotTable(java.io.PrintStream out) throws StandardException, java.io.IOException
1) checks the number of slot entries matches the record count 2) checks the slot table lengths match the field lengths
StandardException
- Standard exception policy.java.io.IOException
public java.lang.String pageHeaderToString()
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.