# Uses of Class
org.apache.sis.storage.DataStoreException

Packages that use DataStoreException
Package
Description
org.apache.sis.storage
Data store base types for retrieving and saving geospatial data in various storage formats.
org.apache.sis.storage.earthobservation
Metadata readers for some format used in Earth observation (Landsat, MODIS).
org.apache.sis.storage.geotiff
Maps ISO metadata elements from/to the GeoTIFF tags.
org.apache.sis.storage.landsat
Reader of Landsat 8 level 1-2 data.
org.apache.sis.storage.netcdf
Reads netCDF files conforming to the Climate and Forecast (CF).
org.apache.sis.storage.sql
Data store capable to read and create features from a JDBC connection to a database.

- ## Uses of DataStoreException in org.apache.sis.storage

  Subclasses of DataStoreException in org.apache.sis.storage
  Modifier and Type
  Class
  Description
  `class`
  `ConcurrentReadException`
  Thrown when an operation can not be performed while a read operation is in progress.
  `class`
  `ConcurrentWriteException`
  Thrown when an operation can not be performed while a write operation is in progress.
  `class`
  `DataStoreClosedException`
  Thrown when a data store is closed and can no more return data.
  `class`
  `DataStoreContentException`
  Thrown when a store can not be read because the stream contains invalid data.
  `class`
  `DataStoreReferencingException`
  Thrown when a data store failed to construct the coordinate reference system (CRS) or other positioning information.
  `class`
  `ForwardOnlyStorageException`
  Thrown when an operation would require to move the cursor back, but the underlying storage does not allow that.
  `class`
  `IllegalFeatureTypeException`
  Thrown when a store can not write the given feature because its type is not one of the supported types.
  `class`
  `IllegalNameException`
  Thrown when an invalid name is used for identifying a coverage, a feature or other kind of element in a data store.
  `class`
  `IllegalOpenParameterException`
  Thrown when a `DataStore` can not be opened because of invalid parameters.
  `class`
  `InternalDataStoreException`
  Thrown when an internal error occurred in a `DataStore` implementation.
  `class`
  `NoSuchDataException`
  Thrown when requested data are not found in the data store.
  `class`
  `ReadOnlyStorageException`
  Thrown when a `DataStore` can not perform a write operations.
  `class`
  `UnsupportedEncodingException`
  Thrown when a storage uses some encoding options not supported by current implementation.
  `class`
  `UnsupportedQueryException`
  Thrown when a resources can not be filtered with a given query.
  `class`
  `UnsupportedStorageException`
  Thrown when no `DataStoreProvider` is found for a given storage object.
  Methods in org.apache.sis.storage that return DataStoreException
  Modifier and Type
  Method
  Description
  `DataStoreException`
  DataStoreException.`initCause(Throwable cause)`
  Initializes the cause of this throwable to the specified value.
  Methods in org.apache.sis.storage that throw DataStoreException
  Modifier and Type
  Method
  Description
  `Resource`
  WritableAggregate.`add(Resource resource)`
  Adds a new `Resource` in this `Aggregate`.
  `void`
  WritableFeatureSet.`add(Iterator<? extends AbstractFeature> features)`
  Inserts new feature instances in this `FeatureSet`.
  `abstract void`
  DataStore.`close()`
  Closes this data store and releases any underlying resources.
  `void`
  StorageConnector.`closeAllExcept(Object view)`
  Closes all streams and connections created by this `StorageConnector` except the given view.
  `Collection<? extends Resource>`
  Aggregate.`components()`
  Returns the children resources of this aggregate.
  `Stream<AbstractFeature>`
  FeatureSet.`features(boolean parallel)`
  Returns a stream of all features contained in this dataset.
  `Resource`
  DataStore.`findResource(String identifier)`
  Searches for a resource identified by the given identifier.
  `Optional<Envelope>`
  DataSet.`getEnvelope()`
  Returns the spatiotemporal extent of this resource in its most natural coordinate reference system.
  `GridGeometry`
  GridCoverageResource.`getGridGeometry()`
  Returns the valid extent of grid coordinates together with the conversion from those grid coordinates to real world coordinates.
  `Optional<GenericName>`
  DataStore.`getIdentifier()`
  Returns an identifier for the root resource of this data store, or `null` if none.
  `Optional<GenericName>`
  Resource.`getIdentifier()`
  Returns the resource persistent identifier.
  `abstract Metadata`
  DataStore.`getMetadata()`
  Returns information about the data store as a whole.
  `Metadata`
  Resource.`getMetadata()`
  Returns information about this resource.
  `Optional<TreeTable>`
  DataStore.`getNativeMetadata()`
  Returns implementation-specific metadata.
  `List<SampleDimension>`
  GridCoverageResource.`getSampleDimensions()`
  Returns the ranges of sample values together with the conversion from samples to real values.
  `Object`
  StorageConnector.`getStorage()`
  Returns the input/output object given at construction time.
  `<T> T`
  StorageConnector.`getStorageAs(Class<T> type)`
  Returns the storage as a view of the given type if possible, or `null` otherwise.
  `DefaultFeatureType`
  FeatureSet.`getType()`
  Returns a description of properties that are common to all features in this dataset.
  `abstract DataStore`
  DataStoreProvider.`open(StorageConnector connector)`
  Returns a data store implementation associated with this provider.
  `DataStore`
  DataStoreProvider.`open(ParameterValueGroup parameters)`
  Returns a data store implementation associated with this provider for the given parameters.
  `static DataStore`
  DataStores.`open(Object storage)`
  Creates a `DataStore` for the given storage.
  `abstract ProbeResult`
  DataStoreProvider.`probeContent(StorageConnector connector)`
  Indicates if the given storage appears to be supported by the `DataStore`s created by this provider.
  `static String`
  DataStores.`probeContentType(Object storage)`
  Returns the MIME type of the storage file format, or `null` if unknown or not applicable.
  `GridCoverage`
  GridCoverageResource.`read(GridGeometry domain, int... range)`
  Loads a subset of the grid coverage represented by this resource.
  `void`
  WritableAggregate.`remove(Resource resource)`
  Removes a `Resource` from this `Aggregate`.
  `boolean`
  WritableFeatureSet.`removeIf(Predicate<? super AbstractFeature> filter)`
  Removes all feature instances from this `FeatureSet` which matches the given predicate.
  `void`
  WritableFeatureSet.`replaceIf(Predicate<? super AbstractFeature> filter, UnaryOperator<AbstractFeature> updater)`
  Updates all feature instances from this `FeatureSet` which match the given predicate.
  `default FeatureSet`
  FeatureSet.`subset(Query query)`
  Requests a subset of features and/or feature properties from this resource.
  `default GridCoverageResource`
  GridCoverageResource.`subset(Query query)`
  Requests a subset of the coverage.
  `void`
  WritableFeatureSet.`updateType(DefaultFeatureType newType)`
  Declares or redefines the type of all feature instances in this feature set.
  Constructors in org.apache.sis.storage that throw DataStoreException
  Modifier
  Constructor
  Description
  `protected`
  `DataStore(DataStoreProvider provider, StorageConnector connector)`
  Creates a new instance for the given storage (typically file or database).
  `protected`
  `DataStore(DataStore parent, DataStoreProvider provider, StorageConnector connector, boolean hidden)`
  Creates a new instance as a child of another data store instance.
  `protected`
  `DataStore(DataStore parent, StorageConnector connector)`
  Deprecated.
  Replaced by `DataStore(DataStore, DataStoreProvider, StorageConnector, boolean)`.

- ## Uses of DataStoreException in org.apache.sis.storage.earthobservation

  Constructors in org.apache.sis.storage.earthobservation that throw DataStoreException
  Modifier
  Constructor
  Description
  ``
  `LandsatStore(LandsatStoreProvider provider, StorageConnector connector)`
  Deprecated.
  Creates a new Landsat store from the given file, URL, stream or character reader.

- ## Uses of DataStoreException in org.apache.sis.storage.geotiff

  Methods in org.apache.sis.storage.geotiff that throw DataStoreException
  Modifier and Type
  Method
  Description
  `void`
  GeoTiffStore.`close()`
  Closes this GeoTIFF store and releases any underlying resources.
  `List<GridCoverageResource>`
  GeoTiffStore.`components()`
  Returns descriptions of all images in this GeoTIFF file.
  `GridCoverageResource`
  GeoTiffStore.`findResource(String sequence)`
  Returns the image at the given index.
  `Optional<GenericName>`
  GeoTiffStore.`getIdentifier()`
  Returns an identifier constructed from the name of the TIFF file.
  `Metadata`
  GeoTiffStore.`getMetadata()`
  Returns information about the dataset as a whole.
  `DataStore`
  GeoTiffStoreProvider.`open(StorageConnector connector)`
  Returns a `GeoTiffStore` implementation associated with this provider.
  `ProbeResult`
  GeoTiffStoreProvider.`probeContent(StorageConnector connector)`
  Returns `ProbeResult.SUPPORTED` if the given storage appears to be supported by `GeoTiffStore`.
  Constructors in org.apache.sis.storage.geotiff that throw DataStoreException
  Modifier
  Constructor
  Description
  ``
  `GeoTiffStore(DataStore parent, DataStoreProvider provider, StorageConnector connector, boolean hidden)`
  Creates a new GeoTIFF store as a component of a larger data store.
  ``
  `GeoTiffStore(GeoTiffStoreProvider provider, StorageConnector connector)`
  Creates a new GeoTIFF store from the given file, URL or stream object.

- ## Uses of DataStoreException in org.apache.sis.storage.landsat

  Methods in org.apache.sis.storage.landsat that throw DataStoreException
  Modifier and Type
  Method
  Description
  `void`
  LandsatStore.`close()`
  Closes this Landsat store and releases any underlying resources.
  `List<Aggregate>`
  LandsatStore.`components()`
  Returns the resources for each group of Landsat bands.
  `Optional<GenericName>`
  LandsatStore.`getIdentifier()`
  Returns the value associated to `LANDSAT_SCENE_ID` in the Landsat metadata file.
  `Metadata`
  LandsatStore.`getMetadata()`
  Returns information about the dataset as a whole.
  `DataStore`
  LandsatStoreProvider.`open(StorageConnector connector)`
  Returns a `LandsatStore` implementation associated with this provider.
  `ProbeResult`
  LandsatStoreProvider.`probeContent(StorageConnector connector)`
  Returns `ProbeResult.SUPPORTED` if the given storage appears to be supported by `LandsatStore`.
  Constructors in org.apache.sis.storage.landsat that throw DataStoreException
  Modifier
  Constructor
  Description
  ``
  `LandsatStore(LandsatStoreProvider provider, StorageConnector connector)`
  Creates a new Landsat store from the given file, URL, stream or character reader.

- ## Uses of DataStoreException in org.apache.sis.storage.netcdf

  Methods in org.apache.sis.storage.netcdf that throw DataStoreException
  Modifier and Type
  Method
  Description
  `void`
  NetcdfStore.`close()`
  Closes this netCDF store and releases any underlying resources.
  `Collection<Resource>`
  NetcdfStore.`components()`
  Returns the resources (features or coverages) in this netCDF store.
  `Version`
  NetcdfStore.`getConventionVersion()`
  Returns the version number of the Climate and Forecast (CF) conventions used in the netCDF file.
  `Optional<GenericName>`
  NetcdfStore.`getIdentifier()`
  Returns an identifier constructed from global attributes or the filename of the netCDF file.
  `Metadata`
  NetcdfStore.`getMetadata()`
  Returns information about the dataset as a whole.
  `Optional<TreeTable>`
  NetcdfStore.`getNativeMetadata()`
  Returns netCDF attributes.
  `DataStore`
  NetcdfStoreProvider.`open(StorageConnector connector)`
  Returns a `NetcdfStore` implementation associated with this provider.
  `ProbeResult`
  NetcdfStoreProvider.`probeContent(StorageConnector connector)`
  Returns `ProbeResult.SUPPORTED` if the given storage appears to be supported by `NetcdfStore`.
  Constructors in org.apache.sis.storage.netcdf that throw DataStoreException
  Modifier
  Constructor
  Description
  ``
  `NetcdfStore(NetcdfStoreProvider provider, StorageConnector connector)`
  Creates a new netCDF store from the given file, URL, stream or `NetcdfFile` object.

- ## Uses of DataStoreException in org.apache.sis.storage.sql

  Methods in org.apache.sis.storage.sql that throw DataStoreException
  Modifier and Type
  Method
  Description
  `void`
  SQLStore.`close()`
  Closes this SQL store and releases any underlying resources.
  `Collection<FeatureSet>`
  SQLStore.`components()`
  Returns the tables (feature sets) in this SQL store.
  `FeatureSet`
  SQLStore.`findResource(String identifier)`
  Searches for a resource identified by the given identifier.
  `Optional<GenericName>`
  SQLStore.`getIdentifier()`
  SQL data store root resource has no identifier.
  `Metadata`
  SQLStore.`getMetadata()`
  Returns information about the dataset as a whole.
  `DataStore`
  SQLStoreProvider.`open(StorageConnector connector)`
  Returns a `SQLStore` implementation associated with this provider.
  `DataStore`
  SQLStoreProvider.`open(ParameterValueGroup parameters)`
  Returns a data store implementation associated with this provider for the given parameters.
  `ProbeResult`
  SQLStoreProvider.`probeContent(StorageConnector connector)`
  Returns `ProbeResult.SUPPORTED` if the given storage appears to be supported by `SQLStore`.
  Constructors in org.apache.sis.storage.sql that throw DataStoreException
  Modifier
  Constructor
  Description
  ``
  `SQLStore(SQLStoreProvider provider, StorageConnector connector, ResourceDefinition... resources)`
  Creates a new `SQLStore` for the given data source and tables, views or queries.
  ``
  `SQLStore(SQLStoreProvider provider, StorageConnector connector, GenericName... tableNames)`
  Deprecated.
  Replaced by `SQLStore(SQLStoreProvider, StorageConnector, ResourceDefinition...)`.