|
deegree 2.3 (2010/04/09 10:10 build-4-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.io.rtree.PageFile
abstract class PageFile
Abstract class implementing general methods of a PageFile.
| Field Summary | |
|---|---|
protected int |
capacity
capacity of a node (= MaxLoad + 1) |
protected int |
dimension
dimension of saved data |
protected int |
minimum
minimum load of a node |
| Constructor Summary | |
|---|---|
PageFile()
|
|
| Method Summary | |
|---|---|
protected abstract void |
close()
Closes the pagefile. |
protected abstract Node |
deleteNode(int pageFileNumber)
Marks the node at given page number as deleted. |
protected int |
getCapacity()
Returns the capacity of a node in the PageFile. |
protected int |
getDimension()
Returns the dimension of the PageFile |
protected int |
getMinimum()
Returns the minimum load of a node |
protected void |
initialize(int dimension,
int capacity)
Initializes the PageFile. |
protected abstract Node |
readNode(int pageFileNumber)
Reads a node from the PageFile for given index |
protected abstract int |
writeNode(Node node)
Writes a node into the PageFile Method tests if node has already a PageNumber, otherwise a new page number is assigned and returned. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int dimension
protected int capacity
protected int minimum
| Constructor Detail |
|---|
PageFile()
| Method Detail |
|---|
protected int getDimension()
protected int getMinimum()
protected int getCapacity()
protected abstract Node readNode(int pageFileNumber)
throws PageFileException
pageFileNumber - -
index of page file number where node is saved
PageFileException
protected abstract int writeNode(Node node)
throws PageFileException
node - -
Node to write
PageFileException
protected abstract Node deleteNode(int pageFileNumber)
throws PageFileException
pageFileNumber - -
page number
PageFileException
protected void initialize(int dimension,
int capacity)
throws PageFileException
dimension - -
dimension of the datacapacity - -
capacity of a node
PageFileException
protected abstract void close()
throws PageFileException
PageFileException
|
deegree 2.3 (2010/04/09 10:10 build-4-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org