public interface GeospatialIndex extends AutoCloseable
A spatial index
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close this index.
|
Metadata |
getMetadata()
Return metadata describing this index.
|
org.locationtech.spatial4j.context.SpatialContext |
getSpatialContext()
Return the
SpatialContext used by this index |
GeospatialIndexConnection |
openConnection()
Open a connection to the index
|
boolean |
setMetadata(Metadata theMetadata)
Persist changes to the provided metadata.
|
void close()
open connections.close in interface AutoCloseableGeospatialIndexConnection openConnection() throws GeoException
GeoException - if there was an error while opening the connectionMetadata getMetadata()
setMetadata(com.complexible.stardog.metadata.Metadata).boolean setMetadata(Metadata theMetadata) throws GeoException
options, only the options which have been updated.theMetadata - the updated metadataGeoException - if there is an error persisting the metadataorg.locationtech.spatial4j.context.SpatialContext getSpatialContext()
SpatialContext used by this indexCopyright © 2010-2016 Stardog Union. All Rights Reserved.