public class MBTilesDataStore extends ContentDataStore
Modifier and Type | Field and Description |
---|---|
protected static CoordinateReferenceSystem |
DEFAULT_CRS |
dataStoreFactory, entries, featureFactory, filterFactory, geometryFactory, JOINED_FEATURE_TYPE, lockingManager, namespaceURI, typeFactory, WRITER_ADD, WRITER_COMMIT, WRITER_UPDATE
Constructor and Description |
---|
MBTilesDataStore(MBTilesFile mbtiles) |
MBTilesDataStore(String namespaceURI,
MBTilesFile mbtiles) |
Modifier and Type | Method and Description |
---|---|
protected ContentFeatureSource |
createFeatureSource(ContentEntry entry)
Instantiates new feature source for the entry.
|
protected List<Name> |
createTypeNames()
Creates a set of qualified names corresponding to the types that the datastore provides.
|
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
protected static final CoordinateReferenceSystem DEFAULT_CRS
public MBTilesDataStore(MBTilesFile mbtiles) throws IOException
IOException
public MBTilesDataStore(String namespaceURI, MBTilesFile mbtiles) throws IOException
IOException
protected List<Name> createTypeNames() throws IOException
ContentDataStore
Namespaces may be left null
for data stores which do not support namespace
qualified type names.
createTypeNames
in class ContentDataStore
Name
.IOException
- Any errors occuring connecting to data.protected ContentFeatureSource createFeatureSource(ContentEntry entry) throws IOException
ContentDataStore
Subclasses should override this method to return a specific subclass of ContentFeatureSource
.
createFeatureSource
in class ContentDataStore
entry
- The entry.ContentFeatureSource
for the entry.IOException
Copyright © 1996–2022 Geotools. All rights reserved.