DataStore provides the methods for reading or writing geospatial data in a given storage.
A storage may be a file, a directory, a connection to a database or any other implementation specific mechanism.
DataStore implementation for a given storage can be discovered and opened by the static methods
Defined in the
Interface Summary Interface Description AggregateA collection of resources. DataSetCollection of features that share a common set of attributes or properties. FeatureSetA dataset providing access to a stream of features. GridCoverageResourceAccess to data values in a n-dimensional grid. ResourceProvides access to geospatial data in a
Aggregatewith writing capabilities.
FeatureSetwith writing capabilities.
Class Summary Class Description DataOptionKey<T>Keys in a map of options for configuring the way data are read or written to a storage. DataStoreManages a series of features, coverages or sensor data. DataStoreProviderProvides information about a specific
DataStoresStatic convenience methods creating
DataStoreinstances from a given storage object.
FeatureNaming<E>Helper class for mapping
GenericNameinstances and their shortened names to features.
ProbeResultTells whether a storage (file, database) appears to be supported by a
QueryDefinition of filtering to apply for fetching a resource subset. StorageConnectorInformation for creating a connection to a
DataStorein read and/or write mode.
Exception Summary Exception Description ConcurrentReadExceptionThrown when an operation can not be performed while a read operation is in progress. ConcurrentWriteExceptionThrown when an operation can not be performed while a write operation is in progress. DataStoreClosedExceptionThrown when a data store is closed and can no more return data. DataStoreContentExceptionThrown when a store can not be read because the stream contains invalid data. DataStoreExceptionThrown when a
DataStorecan not complete a read or write operation.
DataStoreReferencingExceptionThrown when a data store failed to construct the coordinate reference system (CRS) or other positioning information. ForwardOnlyStorageExceptionThrown when an operation would require to move the cursor back, but the underlying storage does not allow that. IllegalFeatureTypeExceptionThrown when a store can not write the given feature because its type is not one of the supported types. IllegalNameExceptionThrown when an invalid name is used for identifying a coverage, a feature or other kind of element in a data store. IllegalOpenParameterExceptionThrown when a
DataStorecan not be opened because of invalid parameters.
InternalDataStoreExceptionThrown when an internal error occurred in a
ReadOnlyStorageExceptionThrown when a
DataStorecan not perform a write operations.
UnsupportedQueryExceptionThrown when a resources can not be filtered with a given query. UnsupportedStorageExceptionThrown when no
DataStoreProvideris found for a given storage object.