Uses of Class
org.apache.sis.storage.DataStoreException
Packages that use DataStoreException
Package
Description
Data store base types for retrieving and saving geospatial data
in various storage formats.
Resources which are aggregations or concatenations of other resources.
Maps GeoTIFF tags to ISO metadata and read raster data as coverages.
Reader of Landsat 8 level 1-2 data.
Reads netCDF files conforming to the Climate and Forecast (CF).
Data store capable to read and create features from a JDBC connection to a database.
Base types for retrieving and saving tiles in resources.
-
Uses of DataStoreException in org.apache.sis.storage
Subclasses of DataStoreException in org.apache.sis.storageModifier and TypeClassDescriptionclass
Thrown when an unrecoverable error occurred during the probing of a file.class
Thrown when an operation cannot be performed while a read operation is in progress.class
Thrown when an operation cannot be performed while a write operation is in progress.class
Thrown when a data store is closed and can no more return data.class
Thrown when a store cannot be read because the stream contains invalid data.class
Thrown when a data store failed to construct the coordinate reference system (CRS) or other positioning information.class
Thrown when an operation would require to move the cursor back, but the underlying storage does not allow that.class
Thrown when a store cannot write the given feature because its type is not one of the supported types.class
Thrown when an invalid name is used for identifying a coverage, a feature or other kind of element in a data store.class
Thrown when aDataStore
cannot be opened because of invalid parameters.class
Thrown when a write operation cannot be performed because the resource to write is incompatible with the data store.class
Thrown when an internal error occurred in aDataStore
implementation.class
Thrown when requested data are not found in the data store.class
Thrown when aDataStore
cannot perform a write operation.class
Thrown when a write operation cannot be performed because it would cause the replacement of an existing resource.class
Thrown when a storage uses some encoding options not supported by current implementation.class
Thrown when a resources cannot be filtered with a given query.class
Thrown when noDataStoreProvider
is found for a given storage object.Methods in org.apache.sis.storage that return DataStoreExceptionModifier and TypeMethodDescriptionprotected DataStoreException
AbstractGridCoverageResource.canNotRead
(String filename, GridGeometry request, Throwable cause) Creates an exception for a failure to load data.Initializes the cause of this throwable to the specified value.Methods in org.apache.sis.storage that throw DataStoreExceptionModifier and TypeMethodDescriptionAdds a newResource
in thisAggregate
.void
WritableFeatureSet.add
(Iterator<? extends AbstractFeature> features) Inserts new feature instances in thisFeatureSet
.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 thisStorageConnector
except the given view.<S> S
Returns the storage as a view of the given type and closes all other views.Collection<? extends Resource>
Aggregate.components()
Returns the children resources of this aggregate.protected Metadata
AbstractFeatureSet.createMetadata()
Invoked in a synchronized block the first time thatgetMetadata()
is invoked.protected Metadata
AbstractGridCoverageResource.createMetadata()
Invoked in a synchronized block the first time thatgetMetadata()
is invoked.protected Metadata
AbstractResource.createMetadata()
Invoked in a synchronized block the first time thatAbstractResource.getMetadata()
is invoked.protected GridCoverageResource
CoverageQuery.execute
(GridCoverageResource source) Applies this query on the given coverage resource.protected FeatureSet
FeatureQuery.execute
(FeatureSet source) Applies this query on the given feature set.FeatureSet.features
(boolean parallel) Returns a stream of all features contained in this dataset.DataStore.findResource
(String identifier) Searches for a resource identified by the given identifier.AbstractGridCoverageResource.getEnvelope()
Returns the envelope of the grid geometry if known.AbstractResource.getEnvelope()
Returns the spatiotemporal envelope of this resource.DataSet.getEnvelope()
Returns the spatiotemporal extent of this resource in its most natural coordinate reference system.GridCoverageResource.getGridGeometry()
Returns the valid extent of grid coordinates together with the conversion from those grid coordinates to real world coordinates.AbstractFeatureSet.getIdentifier()
Returns the feature type name as the identifier for this resource.AbstractResource.getIdentifier()
Returns the resource persistent identifier if available.DataStore.getIdentifier()
Returns an identifier for the root resource of this data store, or an empty value if none.Resource.getIdentifier()
Returns the resource persistent identifier.default RasterLoadingStrategy
GridCoverageResource.getLoadingStrategy()
Returns an indication about when the "physical" loading of raster data will happen.final Metadata
AbstractResource.getMetadata()
Returns a description of this resource.abstract Metadata
DataStore.getMetadata()
Returns information about the data store as a whole.Resource.getMetadata()
Returns information about this resource.DataStore.getNativeMetadata()
Returns implementation-specific metadata.default List<double[]>
GridCoverageResource.getResolutions()
Returns the preferred resolutions (in units of CRS axes) for read operations in this data store.GridCoverageResource.getSampleDimensions()
Returns the ranges of sample values together with the conversion from samples to real values.StorageConnector.getStorage()
Returns the input/output object given at construction time.<S> S
StorageConnector.getStorageAs
(Class<S> type) Returns the storage as a view of the given type if possible, ornull
otherwise.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.DataStoreProvider.open
(ParameterValueGroup parameters) Returns a data store implementation associated with this provider for the given parameters.static DataStore
Creates aDataStore
for the given storage.abstract ProbeResult
DataStoreProvider.probeContent
(StorageConnector connector) Indicates if the given storage appears to be supported by theDataStore
s created by this provider.protected <S> ProbeResult
DataStoreProvider.probeContent
(StorageConnector connector, Class<S> type, DataStoreProvider.Prober<? super S> prober) Applies the specified test on the storage content without modifying buffer or input stream position.static String
DataStores.probeContentType
(Object storage) Returns the MIME type of the storage file format, ornull
if unknown or not applicable.GridCoverageResource.read
(GridGeometry domain, int... ranges) Loads a subset of the grid coverage represented by this resource.void
Removes aResource
from thisAggregate
.boolean
WritableFeatureSet.removeIf
(Predicate<? super AbstractFeature> filter) Removes all feature instances from thisFeatureSet
which matches the given predicate.void
WritableFeatureSet.replaceIf
(Predicate<? super AbstractFeature> filter, UnaryOperator<AbstractFeature> updater) Updates all feature instances from thisFeatureSet
which match the given predicate.default boolean
GridCoverageResource.setLoadingStrategy
(RasterLoadingStrategy strategy) Sets the preferred strategy about when to do the "physical" loading of raster data.default FeatureSet
Requests a subset of features and/or feature properties from this resource.default GridCoverageResource
Requests a subset of the coverage.void
WritableFeatureSet.updateType
(DefaultFeatureType newType) Declares or redefines the type of all feature instances in this feature set.void
WritableGridCoverageResource.write
(GridCoverage coverage, WritableGridCoverageResource.Option... options) Writes a new coverage in the data store for this resource.Constructors in org.apache.sis.storage that throw DataStoreExceptionModifierConstructorDescriptionprotected
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. -
Uses of DataStoreException in org.apache.sis.storage.aggregate
Methods in org.apache.sis.storage.aggregate that throw DataStoreExceptionModifier and TypeMethodDescriptionvoid
CoverageAggregator.add
(GridCoverageResource resource) Adds the given resource.void
CoverageAggregator.addAll
(Stream<? extends GridCoverageResource> resources) Adds all grid resources provided by the given stream.void
CoverageAggregator.addComponents
(Aggregate resource) Adds all components of the given aggregate.static FeatureSet
ConcatenatedFeatureSet.create
(Collection<? extends FeatureSet> sources) Creates a new feature set as a concatenation of the sequence of features given by thesources
.static FeatureSet
ConcatenatedFeatureSet.create
(FeatureSet... sources) Creates a new feature set as a concatenation of the sequence of features given by thesources
.JoinFeatureSet.features
(boolean parallel) Returns a stream of all features contained in this dataset.Requests a subset of features and/or feature properties from this resource.Constructors in org.apache.sis.storage.aggregate that throw DataStoreExceptionModifierConstructorDescriptionprotected
ConcatenatedFeatureSet
(StoreListeners parent, FeatureSet[] sources) Creates a new feature set as a concatenation of the sequence of features given by thesources
.JoinFeatureSet
(StoreListeners parent, FeatureSet left, String leftAlias, FeatureSet right, String rightAlias, JoinFeatureSet.Type joinType, BinaryComparisonOperator<? super AbstractFeature> condition, Map<String, ?> featureInfo) Creates a new feature set joining the two given sets. -
Uses of DataStoreException in org.apache.sis.storage.geotiff
Methods in org.apache.sis.storage.geotiff that throw DataStoreExceptionModifier and TypeMethodDescriptionvoid
GeoTiffStore.close()
Closes this GeoTIFF store and releases any underlying resources.GeoTiffStore.components()
Returns descriptions of all images in this GeoTIFF file.GeoTiffStore.findResource
(String sequence) Returns the image at the given index.GeoTiffStore.getIdentifier()
Returns an identifier constructed from the name of the TIFF file.GeoTiffStore.getMetadata()
Returns information about the dataset as a whole.GeoTiffStore.getNativeMetadata()
Returns TIFF tags and GeoTIFF keys as a tree for debugging purpose.GeoTiffStoreProvider.open
(StorageConnector connector) Returns aGeoTiffStore
implementation associated with this provider.GeoTiffStoreProvider.probeContent
(StorageConnector connector) Returns the MIME type if the given storage appears to be supported byGeoTiffStore
.Constructors in org.apache.sis.storage.geotiff that throw DataStoreExceptionModifierConstructorDescriptionGeoTiffStore
(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 DataStoreExceptionModifier and TypeMethodDescriptionvoid
LandsatStore.close()
Closes this Landsat store and releases any underlying resources.LandsatStore.components()
Returns the resources for each group of Landsat bands.LandsatStore.getIdentifier()
Returns the value associated toLANDSAT_SCENE_ID
in the Landsat metadata file.LandsatStore.getMetadata()
Returns information about the dataset as a whole.LandsatStoreProvider.open
(StorageConnector connector) Returns aLandsatStore
implementation associated with this provider.LandsatStoreProvider.probeContent
(StorageConnector connector) ReturnsProbeResult.SUPPORTED
if the given storage appears to be supported byLandsatStore
.Constructors in org.apache.sis.storage.landsat that throw DataStoreExceptionModifierConstructorDescriptionLandsatStore
(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 DataStoreExceptionModifier and TypeMethodDescriptionvoid
NetcdfStore.close()
Closes this netCDF store and releases any underlying resources.NetcdfStore.components()
Returns the resources (features or coverages) in this netCDF store.NetcdfStore.getConventionVersion()
Returns the version number of the Climate and Forecast (CF) conventions used in the netCDF file.NetcdfStore.getIdentifier()
Returns an identifier constructed from global attributes or the filename of the netCDF file.NetcdfStore.getMetadata()
Returns information about the dataset as a whole.NetcdfStore.getNativeMetadata()
Returns netCDF attributes.NetcdfStoreProvider.open
(StorageConnector connector) Returns aNetcdfStore
implementation associated with this provider.NetcdfStoreProvider.probeContent
(StorageConnector connector) Returns the MIME type if the given storage appears to be supported byNetcdfStore
.Constructors in org.apache.sis.storage.netcdf that throw DataStoreExceptionModifierConstructorDescriptionNetcdfStore
(NetcdfStoreProvider provider, StorageConnector connector) Creates a new netCDF store from the given file, URL, stream orNetcdfFile
object. -
Uses of DataStoreException in org.apache.sis.storage.sql
Methods in org.apache.sis.storage.sql that throw DataStoreExceptionModifier and TypeMethodDescriptionvoid
SQLStore.close()
Closes this SQL store and releases any underlying resources.SQLStore.components()
Returns the tables (feature sets) in this SQL store.SQLStore.findResource
(String identifier) Searches for a resource identified by the given identifier.SQLStore.getIdentifier()
SQL data store root resource has no identifier.SQLStore.getMetadata()
Returns information about the dataset as a whole.SQLStoreProvider.open
(StorageConnector connector) Returns aSQLStore
implementation associated with this provider.SQLStoreProvider.open
(ParameterValueGroup parameters) Returns a data store implementation associated with this provider for the given parameters.SQLStoreProvider.probeContent
(StorageConnector connector) ReturnsProbeResult.SUPPORTED
if the given storage appears to be supported bySQLStore
.Constructors in org.apache.sis.storage.sql that throw DataStoreExceptionModifierConstructorDescriptionSQLStore
(SQLStoreProvider provider, StorageConnector connector, ResourceDefinition... resources) Creates a newSQLStore
for the given data source and tables, views or queries. -
Uses of DataStoreException in org.apache.sis.storage.tiling
Methods in org.apache.sis.storage.tiling that throw DataStoreExceptionModifier and TypeMethodDescriptionWritableTileMatrixSet.createTileMatrix
(TileMatrix tiles) Adds the given tile matrix to this set and returns a writable instance for later completion.WritableTiledResource.createTileMatrixSet
(TileMatrixSet tiles) Adds the given tile matrix set to this resource and returns a writable instance for later completion.void
WritableTileMatrixSet.deleteTileMatrix
(String identifier) Deletes aTileMatrix
identified by the given name.void
WritableTiledResource.deleteTileMatrixSet
(String identifier) Deletes aTileMatrixSet
identified by the given name.long
WritableTileMatrix.deleteTiles
(GridExtent indicesRanges) Deletes all existing tiles in the given region.Tile.getResource()
Returns the tile content as a resource.TileMatrix.getTile
(long... indices) Gets a tile at the given indices.Collection<? extends TileMatrixSet>
TiledResource.getTileMatrixSets()
Returns the collection of all available tile matrix sets in this resource.Collection<? extends WritableTileMatrixSet>
WritableTiledResource.getTileMatrixSets()
Returns the collection of all available tile matrix sets in this resource.TileMatrix.getTiles
(GridExtent indicesRanges, boolean parallel) Retrieves a stream of existing tiles in the specified region.TileMatrix.getTileStatus
(long... indices) Fetches information about whether a tile exists, is missing or failed to load.void
WritableTileMatrix.writeTiles
(Stream<Tile> tiles) Writes a stream of tiles.