|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.index.rtree.Node
org.geotools.index.rtree.cachefs.FileSystemNode
DOCUMENT ME!
| Field Summary |
| Fields inherited from class org.geotools.index.rtree.Node |
bounds, entries, entriesCount, isChanged, maxNodeEntries |
| Constructor Summary | |
FileSystemNode(Parameters params)
DOCUMENT ME! |
|
FileSystemNode(Parameters params,
long offset)
DOCUMENT ME! |
|
| Method Summary | |
protected void |
doSave()
Saves this Node; called from save() |
boolean |
equals(java.lang.Object obj)
|
protected void |
finalize()
Force this node flush |
void |
flush()
Flushes this node to disk Node page structure: 1 * byte --> 1 = leaf, 2 = non leaf 1 * long --> parent offset entries len * 40 --> the entries each entry is as follow 4 * double --> the bounding box (x1, x2, y1, y2) 1 * long --> the pointer (-1 if leaf) Data pages are immediatly after leaf Node pages. |
protected Entry |
getEntry(Node node)
Returns the Entry pointing the specified Node |
Node |
getParent()
DOCUMENT ME! |
void |
setParent(Node node)
Sets the parent of this Node |
| Methods inherited from class org.geotools.index.rtree.Node |
addEntry, boundsChanged, clear, getBounds, getEntries, getEntriesCount, getEntry, isLeaf, removeEntry, save, setLeaf |
| Methods inherited from class java.lang.Object |
clone, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileSystemNode(Parameters params)
params -
public FileSystemNode(Parameters params,
long offset)
throws java.io.IOException,
TreeException
params - offset - DOCUMENT ME!
java.io.IOException - DOCUMENT ME!
TreeException - DOCUMENT ME!| Method Detail |
public Node getParent()
throws TreeException
Node
getParent in class NodeTreeException - DOCUMENT ME!org.geotools.rtree.Node#getParent()
public void flush()
throws TreeException
Node page structure: 1 * byte --> 1 = leaf, 2 = non leaf 1 * long --> parent offset entries len * 40 --> the entries each entry is as follow 4 * double --> the bounding box (x1, x2, y1, y2) 1 * long --> the pointer (-1 if leaf) Data pages are immediatly after leaf Node pages.
TreeException - DOCUMENT ME!
protected void doSave()
throws TreeException
NodeNode; called from save()
doSave in class NodeTreeExceptionorg.geotools.rtree.Node#save()
protected void finalize()
throws java.lang.Throwable
java.lang.Throwable - DOCUMENT ME!protected Entry getEntry(Node node)
NodeNode
getEntry in class Nodenode - The Node
Entryorg.geotools.rtree.Node#getEntry(org.geotools.rtree.Node)public void setParent(Node node)
NodeNode
setParent in class Nodenode - The parent Nodeorg.geotools.rtree.Node#setParent(org.geotools.rtree.Node)public boolean equals(java.lang.Object obj)
Object.equals(java.lang.Object)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||