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 TypeClassDescriptionclassThrown when an unrecoverable error occurred during the probing of a file.classThrown when an operation cannot be performed while a read operation is in progress.classThrown when an operation cannot be performed while a write operation is in progress.classThrown when a data store is closed and can no more return data.classThrown when a store cannot be read because the stream contains invalid data.classThrown when a data store failed to construct the coordinate reference system (CRS) or other positioning information.classThrown when an operation would require to move the cursor back, but the underlying storage does not allow that.classThrown when a store cannot write the given feature because its type is not one of the supported types.classThrown when an invalid name is used for identifying a coverage, a feature or other kind of element in a data store.classThrown when aDataStorecannot be opened because of invalid parameters.classThrown when a write operation cannot be performed because the resource to write is incompatible with the data store.classThrown when an internal error occurred in aDataStoreimplementation.classThrown when requested data are not found in the data store.classThrown when aDataStorecannot perform a write operation.classThrown when a write operation cannot be performed because it would cause the replacement of an existing resource.classThrown when a storage uses some encoding options not supported by current implementation.classThrown when a resources cannot be filtered with a given query.classThrown when noDataStoreProvideris found for a given storage object.Methods in org.apache.sis.storage that return DataStoreExceptionModifier and TypeMethodDescriptionprotected DataStoreExceptionAbstractGridCoverageResource.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 newResourcein thisAggregate.voidWritableFeatureSet.add(Iterator<? extends AbstractFeature> features) Inserts new feature instances in thisFeatureSet.abstract voidDataStore.close()Closes this data store and releases any underlying resources.voidStorageConnector.closeAllExcept(Object view) Closes all streams and connections created by thisStorageConnectorexcept the given view.<S> SReturns 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 MetadataAbstractFeatureSet.createMetadata()Invoked in a synchronized block the first time thatgetMetadata()is invoked.protected MetadataAbstractGridCoverageResource.createMetadata()Invoked in a synchronized block the first time thatgetMetadata()is invoked.protected MetadataAbstractResource.createMetadata()Invoked in a synchronized block the first time thatAbstractResource.getMetadata()is invoked.protected GridCoverageResourceCoverageQuery.execute(GridCoverageResource source) Applies this query on the given coverage resource.protected FeatureSetFeatureQuery.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 RasterLoadingStrategyGridCoverageResource.getLoadingStrategy()Returns an indication about when the "physical" loading of raster data will happen.final MetadataAbstractResource.getMetadata()Returns a description of this resource.abstract MetadataDataStore.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> SStorageConnector.getStorageAs(Class<S> type) Returns the storage as a view of the given type if possible, ornullotherwise.FeatureSet.getType()Returns a description of properties that are common to all features in this dataset.abstract DataStoreDataStoreProvider.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 DataStoreCreates aDataStorefor the given storage.abstract ProbeResultDataStoreProvider.probeContent(StorageConnector connector) Indicates if the given storage appears to be supported by theDataStores created by this provider.protected <S> ProbeResultDataStoreProvider.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 StringDataStores.probeContentType(Object storage) Returns the MIME type of the storage file format, ornullif unknown or not applicable.GridCoverageResource.read(GridGeometry domain, int... ranges) Loads a subset of the grid coverage represented by this resource.voidRemoves aResourcefrom thisAggregate.booleanWritableFeatureSet.removeIf(Predicate<? super AbstractFeature> filter) Removes all feature instances from thisFeatureSetwhich matches the given predicate.voidWritableFeatureSet.replaceIf(Predicate<? super AbstractFeature> filter, UnaryOperator<AbstractFeature> updater) Updates all feature instances from thisFeatureSetwhich match the given predicate.default booleanGridCoverageResource.setLoadingStrategy(RasterLoadingStrategy strategy) Sets the preferred strategy about when to do the "physical" loading of raster data.default FeatureSetRequests a subset of features and/or feature properties from this resource.default GridCoverageResourceRequests a subset of the coverage.voidWritableFeatureSet.updateType(DefaultFeatureType newType) Declares or redefines the type of all feature instances in this feature set.voidWritableGridCoverageResource.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 DataStoreExceptionModifierConstructorDescriptionprotectedDataStore(DataStoreProvider provider, StorageConnector connector) Creates a new instance for the given storage (typically file or database).protectedDataStore(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 TypeMethodDescriptionvoidCoverageAggregator.add(GridCoverageResource resource) Adds the given resource.voidCoverageAggregator.addAll(Stream<? extends GridCoverageResource> resources) Adds all grid resources provided by the given stream.voidCoverageAggregator.addComponents(Aggregate resource) Adds all components of the given aggregate.static FeatureSetConcatenatedFeatureSet.create(Collection<? extends FeatureSet> sources) Creates a new feature set as a concatenation of the sequence of features given by thesources.static FeatureSetConcatenatedFeatureSet.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 DataStoreExceptionModifierConstructorDescriptionprotectedConcatenatedFeatureSet(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 TypeMethodDescriptionvoidGeoTiffStore.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 aGeoTiffStoreimplementation 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 TypeMethodDescriptionvoidLandsatStore.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_IDin the Landsat metadata file.LandsatStore.getMetadata()Returns information about the dataset as a whole.LandsatStoreProvider.open(StorageConnector connector) Returns aLandsatStoreimplementation associated with this provider.LandsatStoreProvider.probeContent(StorageConnector connector) ReturnsProbeResult.SUPPORTEDif 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 TypeMethodDescriptionvoidNetcdfStore.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 aNetcdfStoreimplementation 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 orNetcdfFileobject. -
Uses of DataStoreException in org.apache.sis.storage.sql
Methods in org.apache.sis.storage.sql that throw DataStoreExceptionModifier and TypeMethodDescriptionvoidSQLStore.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 aSQLStoreimplementation 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.SUPPORTEDif 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 newSQLStorefor 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.voidWritableTileMatrixSet.deleteTileMatrix(String identifier) Deletes aTileMatrixidentified by the given name.voidWritableTiledResource.deleteTileMatrixSet(String identifier) Deletes aTileMatrixSetidentified by the given name.longWritableTileMatrix.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.voidWritableTileMatrix.writeTiles(Stream<Tile> tiles) Writes a stream of tiles.