Package com.complexible.stardog.spatial
Interface GeospatialIndexFactory
-
public interface GeospatialIndexFactory
Factory for creating instances of
GeospatialIndex
- Since:
- 4.0
- Version:
- 4.0
- Author:
- Michael Grove
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GeospatialIndex
open(java.io.File theFile, java.util.function.Supplier<Metadata> theMetadata)
Open a disk-based spatial index.GeospatialIndex
open(java.util.function.Supplier<Metadata> theMetadata)
Open a new in-memory spatial index
-
-
-
Method Detail
-
open
GeospatialIndex open(java.util.function.Supplier<Metadata> theMetadata) throws GeoException
Open a new in-memory spatial index- Returns:
- the new index
- Throws:
GeoException
-
open
GeospatialIndex open(java.io.File theFile, java.util.function.Supplier<Metadata> theMetadata) throws GeoException
Open a disk-based spatial index. If an index does not exist in the given location, a new one will be automatically created- Parameters:
theFile
- the file- Returns:
- the index
- Throws:
GeoException
-
-