|
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.io.quadtree.DBNode
class DBNode
Represents a node of a DBQuadtree
. Nodes contain items which have a spatial extent
corresponding to the node's position in the quadtree.
Constructor Summary | |
---|---|
DBNode(String id,
Envelope env,
DBQuadtree qt,
String indexName,
JDBCConnection jdbc,
int level)
|
Method Summary | |
---|---|
(package private) void |
create()
creates a new node with current ID and envelope |
void |
deleteItem(Object item)
deletes a specific item from the tree (not the item itself will be deleted, just its reference will be) |
void |
deleteRange(Envelope envelope)
deletes all references of items whose envelope intersects with the passed one ( |
(package private) Envelope |
getEnvelope()
|
String |
getId()
|
void |
insert(Object item,
Envelope itemEnv)
inserts a new item into the quadtree |
List<Object> |
query(Envelope searchEnv,
List<Object> visitor,
int level)
returns a List containing all items whose envelope intersects with the passed one |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DBNode(String id, Envelope env, DBQuadtree qt, String indexName, JDBCConnection jdbc, int level) throws IndexException
id
- jdbc
-
IndexException
Method Detail |
---|
public String getId()
getId
in interface Node
Envelope getEnvelope()
public void insert(Object item, Envelope itemEnv) throws IndexException
Node
insert
in interface Node
IndexException
public List<Object> query(Envelope searchEnv, List<Object> visitor, int level) throws IndexException
Node
query
in interface Node
IndexException
public void deleteItem(Object item)
Node
deleteItem
in interface Node
public void deleteRange(Envelope envelope)
Node
deleteRange
in interface Node
)
void create() throws IndexException
IndexException
|
deegree 2.1 (2007/11/08 09:57 build-328-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://deegree.sourceforge.net