public interface SpatialIndex extends Service
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
SpatialIndexFactory |
getFactory() |
void |
insert(Envelope envelope,
java.lang.Object data) |
void |
insert(Geometry geom) |
void |
insert(Geometry geom,
java.lang.Object data) |
void |
open() |
java.util.Iterator |
query(Envelope envelope) |
java.util.Iterator |
query(Envelope envelope,
long limit) |
void |
query(Envelope envelope,
Visitor visitor) |
java.util.Iterator |
query(Geometry geom) |
java.util.Iterator |
query(Geometry geom,
long limit) |
void |
query(Geometry geom,
Visitor visitor) |
java.util.Iterator |
queryAll() |
java.util.List |
queryAllAsList() |
java.util.List |
queryAsList(Envelope envelope) |
java.util.List |
queryAsList(Geometry geom) |
java.util.Iterator |
queryNearest(Envelope envelope) |
java.util.Iterator |
queryNearest(Envelope envelope,
long limit) |
java.util.Iterator |
queryNearest(Geometry geom) |
java.util.Iterator |
queryNearest(Geometry geom,
long limit) |
boolean |
remove(Envelope envelope,
java.lang.Object data) |
boolean |
remove(Geometry geom) |
boolean |
remove(Geometry geom,
java.lang.Object data) |
void |
removeAll() |
long |
size() |
getManager
SpatialIndexFactory getFactory()
void open()
void close()
java.util.Iterator query(Envelope envelope, long limit)
java.util.Iterator query(Envelope envelope)
java.util.Iterator query(Geometry geom, long limit)
java.util.Iterator query(Geometry geom)
java.util.Iterator queryNearest(Envelope envelope, long limit)
java.util.Iterator queryNearest(Envelope envelope)
java.util.Iterator queryNearest(Geometry geom, long limit)
java.util.Iterator queryNearest(Geometry geom)
java.util.Iterator queryAll()
java.util.List queryAsList(Envelope envelope)
java.util.List queryAsList(Geometry geom)
java.util.List queryAllAsList()
void insert(Envelope envelope, java.lang.Object data)
void insert(Geometry geom, java.lang.Object data)
void insert(Geometry geom)
boolean remove(Envelope envelope, java.lang.Object data)
boolean remove(Geometry geom, java.lang.Object data)
boolean remove(Geometry geom)
void removeAll()
long size()
void flush()