public class SpatialIndexJTS extends AbstractSpatialIndex implements SpatialIndex
Constructor and Description |
---|
SpatialIndexJTS(GeometryManager geometryManager,
SpatialIndexFactory factory,
DynObject parameters) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
insert(Envelope envelope,
Object data) |
void |
open() |
Iterator |
query(Envelope envelope,
long limit) |
void |
query(Envelope envelope,
Visitor visitor) |
Iterator |
queryAll() |
Iterator |
queryNearest(Envelope envelope,
long limit) |
boolean |
remove(Envelope envelope,
Object data) |
void |
removeAll() |
long |
size() |
asList, coerceData, flush, getFactory, getManager, getParameter, getParameters, insert, insert, query, query, query, query, queryAllAsList, queryAsList, queryAsList, queryNearest, queryNearest, queryNearest, remove, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
flush, getFactory, insert, insert, query, query, query, query, queryAllAsList, queryAsList, queryAsList, queryNearest, queryNearest, queryNearest, remove, remove
getManager
public SpatialIndexJTS(GeometryManager geometryManager, SpatialIndexFactory factory, DynObject parameters)
public void open()
open
in interface SpatialIndex
public void close()
close
in interface SpatialIndex
public long size()
size
in interface SpatialIndex
public void query(Envelope envelope, Visitor visitor)
query
in interface SpatialIndex
public Iterator query(Envelope envelope, long limit)
query
in interface SpatialIndex
public Iterator queryNearest(Envelope envelope, long limit)
queryNearest
in interface SpatialIndex
public Iterator queryAll()
queryAll
in interface SpatialIndex
public void insert(Envelope envelope, Object data)
insert
in interface SpatialIndex
public boolean remove(Envelope envelope, Object data)
remove
in interface SpatialIndex
public void removeAll()
removeAll
in interface SpatialIndex