public class WrappedSpatialIndex extends Object implements SpatialIndex
Modifier and Type | Class and Description |
---|---|
protected class |
WrappedSpatialIndex.Oid2FeatureReferenceIterator |
protected class |
WrappedSpatialIndex.Oid2FeatureReferenceVisitor |
Constructor and Description |
---|
WrappedSpatialIndex(SpatialIndex index,
FeatureStore store) |
public WrappedSpatialIndex(SpatialIndex index, FeatureStore store)
public SpatialIndexFactory getFactory()
getFactory
in interface SpatialIndex
public void open()
open
in interface SpatialIndex
public void close()
close
in interface SpatialIndex
public void query(Envelope envelope, Visitor visitor)
query
in interface SpatialIndex
public void query(Geometry geom, Visitor visitor)
query
in interface SpatialIndex
public Iterator query(Envelope envelope, long limit)
query
in interface SpatialIndex
public Iterator query(Envelope envelope)
query
in interface SpatialIndex
public Iterator query(Geometry geom, long limit)
query
in interface SpatialIndex
public Iterator query(Geometry geom)
query
in interface SpatialIndex
public Iterator queryNearest(Envelope envelope, long limit)
queryNearest
in interface SpatialIndex
public Iterator queryNearest(Envelope envelope)
queryNearest
in interface SpatialIndex
public Iterator queryNearest(Geometry geom, long limit)
queryNearest
in interface SpatialIndex
public Iterator queryNearest(Geometry geom)
queryNearest
in interface SpatialIndex
public Iterator queryAll()
queryAll
in interface SpatialIndex
public List queryAsList(Envelope envelope)
queryAsList
in interface SpatialIndex
public List queryAsList(Geometry geom)
queryAsList
in interface SpatialIndex
public List queryAllAsList()
queryAllAsList
in interface SpatialIndex
public void insert(Envelope envelope, Object data)
insert
in interface SpatialIndex
public void insert(Geometry geom, Object data)
insert
in interface SpatialIndex
public void insert(Geometry geom)
insert
in interface SpatialIndex
public boolean remove(Envelope envelope, Object data)
remove
in interface SpatialIndex
public boolean remove(Geometry geom, Object data)
remove
in interface SpatialIndex
public boolean remove(Geometry geom)
remove
in interface SpatialIndex
public void removeAll()
removeAll
in interface SpatialIndex
public long size()
size
in interface SpatialIndex
public void flush()
flush
in interface SpatialIndex
public Manager getManager()
Service
Manager
which manages this server.getManager
in interface Service
Manager