|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectRTree
public class RTree
Relational index.
trunk/gt/modules
(gt-modules.jar
) (Maven report) (SVN head)Constructor Summary | |
---|---|
RTree(PageStore store)
|
Method Summary | |
---|---|
void |
close()
Closes this index and the associated PageStore |
void |
delete(Envelope env)
Deletes the entry with the specified Envelope as its
bounds. |
Envelope |
getBounds()
Gets this index bounding box |
Envelope |
getBounds(Filter filter)
Returns the maxiumal boudns for the provided filter. |
DataDefinition |
getDataDefinition()
|
void |
insert(Envelope bounds,
Data data)
DOCUMENT ME! |
List |
search(Envelope query)
Performs a search on this RTree |
List |
search(Filter filter)
Performs a search on this RTree |
String |
toString()
|
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RTree(PageStore store) throws TreeException
TreeException
Method Detail |
---|
public Envelope getBounds() throws TreeException
TreeException
- DOCUMENT ME!public Envelope getBounds(Filter filter) throws TreeException, UnsupportedFilterException
This method will try and produce a filter for the provided bounds, see ExtractBoundsFilterVisitor.BOUNDS_VISITOR for details of generation.
filter
-
TreeException
UnsupportedFilterException
- For Filter.EXCLUDESpublic DataDefinition getDataDefinition()
public List search(Envelope query) throws TreeException, LockTimeoutException
RTree
query
- the query Envelope
Collection
of Data
TreeException
- DOCUMENT ME!
LockTimeoutException
- DOCUMENT ME!public List search(Filter filter) throws TreeException, UnsupportedFilterException, LockTimeoutException
RTree
filter
- a Filter
Collection
of Data
TreeException
UnsupportedFilterException
- DOCUMENT ME!
LockTimeoutException
- DOCUMENT ME!public void insert(Envelope bounds, Data data) throws TreeException, LockTimeoutException
bounds
- data
-
TreeException
LockTimeoutException
public void delete(Envelope env) throws TreeException, LockTimeoutException
Envelope
as its
bounds.delete
are needed to remove all this elements.
env
- The Envelope
TreeException
LockTimeoutException
- DOCUMENT ME!public void close() throws TreeException
PageStore
TreeException
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |