public class BranchRow
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
private DataValueDescriptor[] |
branchrow |
The array of object to be used as the row.
|
static long |
DUMMY_PAGE_NUMBER |
Modifier | Constructor | Description |
---|---|---|
private |
BranchRow() |
Constuctor for creating an "empty" BranchRow template, suitable for reading
in a branchRow from disk.
|
private |
BranchRow(Transaction rawtran,
BTree btree) |
Modifier and Type | Method | Description |
---|---|---|
BranchRow |
createBranchRowFromOldBranchRow(long childpageno) |
Create a new branch row, given a old branch row and a new child page.
|
static BranchRow |
createBranchRowFromOldLeafRow(DataValueDescriptor[] leafrow,
long childpageno) |
Create a new branch row, given a old leaf row and a new child page.
|
static BranchRow |
createEmptyTemplate(Transaction rawtran,
BTree btree) |
Create an empty branch row template suitable for reading branch rows in
from disk.
|
private SQLLongint |
getChildPage() |
Accessor for the child page field of the branch row.
|
protected DataValueDescriptor[] |
getRow() |
Return the branch row.
|
protected void |
setPageNumber(long page_number) |
Set the page number field of the branch row to a new value.
|
java.lang.String |
toString() |
public static final long DUMMY_PAGE_NUMBER
private DataValueDescriptor[] branchrow
private BranchRow()
private BranchRow(Transaction rawtran, BTree btree) throws StandardException
StandardException
private SQLLongint getChildPage()
public static BranchRow createEmptyTemplate(Transaction rawtran, BTree btree) throws StandardException
StandardException
- Standard exception policy.public BranchRow createBranchRowFromOldBranchRow(long childpageno)
public static BranchRow createBranchRowFromOldLeafRow(DataValueDescriptor[] leafrow, long childpageno)
protected DataValueDescriptor[] getRow()
Return the DataValueDescriptor array that represents the branch row, for use in raw store calls to fetch, insert, and update.
protected void setPageNumber(long page_number)
page_number
- the new page number.public java.lang.String toString()
toString
in class java.lang.Object
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.