|
|||||||||||
| 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.database.DatabaseNode
DOCUMENT ME!
| Field Summary |
| Fields inherited from class org.geotools.index.rtree.Node |
bounds, entries, entriesCount, isChanged, maxNodeEntries |
| Constructor Summary | |
DatabaseNode(int maxNodeEntries,
javax.sql.DataSource ds,
Dialect dialect,
java.lang.String tableName)
Constructor |
|
DatabaseNode(int maxNodeEntries,
javax.sql.DataSource ds,
Dialect dialect,
java.lang.String tableName,
java.lang.Integer pageId)
Constructor that retrieves data from the db |
|
| Method Summary | |
protected void |
doInsert(java.sql.Connection cnn,
byte[] bytes)
Inserts this Node into the database |
protected void |
doSave()
Saves this Node; called from save() |
protected void |
doUpdate(java.sql.Connection cnn,
byte[] bytes)
Update the databse with this Node informations |
protected Entry |
getEntry(Node node)
Returns the Entry pointing the specified Node |
java.lang.Integer |
getPageId()
DOCUMENT ME! |
Node |
getParent()
DOCUMENT ME! |
void |
setPageId(java.lang.Integer pageId)
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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DatabaseNode(int maxNodeEntries,
javax.sql.DataSource ds,
Dialect dialect,
java.lang.String tableName)
maxNodeEntries - ds - dialect - tableName -
public DatabaseNode(int maxNodeEntries,
javax.sql.DataSource ds,
Dialect dialect,
java.lang.String tableName,
java.lang.Integer pageId)
throws TreeException
maxNodeEntries - ds - dialect - tableName - pageId -
TreeException - DOCUMENT ME!| Method Detail |
protected void doSave()
throws TreeException
NodeNode; called from save()
doSave in class NodeTreeExceptionNode.doSave()
protected void doInsert(java.sql.Connection cnn,
byte[] bytes)
throws java.sql.SQLException,
java.io.IOException
cnn - bytes -
java.sql.SQLException
java.io.IOException
protected void doUpdate(java.sql.Connection cnn,
byte[] bytes)
throws java.sql.SQLException,
java.io.IOException
cnn - bytes -
java.sql.SQLException
java.io.IOExceptionprotected Entry getEntry(Node node)
NodeNode
getEntry in class Nodenode - The Node
EntryNode.getEntry(org.geotools.index.rtree.Node)
public Node getParent()
throws TreeException
Node
getParent in class NodeTreeException - DOCUMENT ME!Node.getParent()public void setParent(Node node)
NodeNode
setParent in class Nodenode - The parent NodeNode.setParent(org.geotools.index.rtree.Node)public java.lang.Integer getPageId()
public void setPageId(java.lang.Integer pageId)
pageId - The pageId to set.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||