Package org.geotools.mbtiles
Class MBTilesDataStore
Object
ContentDataStore
MBTilesDataStore
- All Implemented Interfaces:
DataAccess<SimpleFeatureType,
,SimpleFeature> DataStore
-
Field Summary
FieldsFields inherited from class ContentDataStore
dataStoreFactory, entries, featureFactory, filterFactory, geometryFactory, JOINED_FEATURE_TYPE, lockingManager, namespaceURI, typeFactory, WRITER_ADD, WRITER_COMMIT, WRITER_UPDATE
-
Constructor Summary
ConstructorsConstructorDescriptionMBTilesDataStore
(String namespaceURI, MBTilesFile mbtiles) MBTilesDataStore
(MBTilesFile mbtiles) -
Method Summary
Modifier and TypeMethodDescriptionprotected ContentFeatureSource
createFeatureSource
(ContentEntry entry) Instantiates new feature source for the entry.Creates a set of qualified names corresponding to the types that the datastore provides.Methods inherited from class ContentDataStore
createContentState, createSchema, dispose, ensureEntry, ensureFeatureStore, entry, getDataStoreFactory, getEntry, getFeatureFactory, getFeatureReader, getFeatureSource, getFeatureSource, getFeatureSource, getFeatureSource, getFeatureTypeFactory, getFeatureWriter, getFeatureWriter, getFeatureWriterAppend, getFilterFactory, getGeometryFactory, getInfo, getLockingManager, getLogger, getNames, getNamespaceURI, getSchema, getSchema, getTypeNames, name, removeEntry, removeSchema, removeSchema, setDataStoreFactory, setFeatureFactory, setFeatureTypeFactory, setFilterFactory, setGeometryFactory, setNamespaceURI, updateSchema, updateSchema
-
Field Details
-
DEFAULT_CRS
-
-
Constructor Details
-
MBTilesDataStore
- Throws:
IOException
-
MBTilesDataStore
- Throws:
IOException
-
-
Method Details
-
createTypeNames
Description copied from class:ContentDataStore
Creates a set of qualified names corresponding to the types that the datastore provides.Namespaces may be left
null
for data stores which do not support namespace qualified type names.- Specified by:
createTypeNames
in classContentDataStore
- Returns:
- A list of
Name
. - Throws:
IOException
- Any errors occuring connecting to data.
-
createFeatureSource
Description copied from class:ContentDataStore
Instantiates new feature source for the entry.Subclasses should override this method to return a specific subclass of
ContentFeatureSource
.- Specified by:
createFeatureSource
in classContentDataStore
- Parameters:
entry
- The entry.- Returns:
- An new instance of
ContentFeatureSource
for the entry. - Throws:
IOException
-