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.
A data store that can read and write GeoTIFF files as grid coverages.
Reader of Landsat 8 level 1-2 data.
A plugin mechanism for modifying some aspects of the resources read by data stores.
Reads netCDF files conforming to the Climate and Forecast (CF).
Data store capable to read and write features using 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 or database 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.classThrown when aDataStorecannot perform a read operation.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.getEnvelope()Returns the spatiotemporal extent of this resource in its most natural coordinate reference system.default Optional<Resource.FileSet> Resource.getFileSet()Gets the paths to the files potentially used by this resource.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) Creates a data store instance associated with this provider.DataStoreProvider.open(ParameterValueGroup parameters) Creates a data store instance associated with this provider for the given parameters.static DataStoreCreates aDataStorecapable to read the given storage.static DataStoreCreates aDataStorecapable to read the given storage, with a preference for the specified reader.static DataStoreDataStores.openWritable(Object storage, String preferredFormat) Creates aDataStorecapable to write or update the given storage.protected voidFeatureQuery.optimize(FeatureSet source) Optimizes this query before execution.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.static Optional<GridCoverage> DataStores.readGridCoverage(Object storage, Envelope aoi) Reads immediately the first grid coverage found in the given storage.voidRemoves aResourcefrom thisAggregate.voidWritableFeatureSet.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.add(GridCoverageResource resource, double lower, double span, SingleCRS crs) Adds the given resource augmented with a single grid dimension.voidCoverageAggregator.add(GridCoverageResource resource, Instant lower, Duration span) Adds the given resource augmented with a single temporal grid dimension.voidCoverageAggregator.add(GridCoverageResource resource, GridGeometry dimToAdd) Adds the given resource augmented with the specified grid dimensions.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.voidCoverageAggregator.addRangeAggregate(GridCoverageResource... sources) Adds a resource whose range is the aggregation of the ranges of a sequence of resources.voidCoverageAggregator.addRangeAggregate(GridCoverageResource[] sources, int[][] bandsPerSource) Adds a resource whose range is the aggregation of the specified bands of a sequence of resources.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(Resource parent, FeatureSet[] sources) Creates a new feature set as a concatenation of the sequence of features given by thesources.JoinFeatureSet(Resource parent, FeatureSet left, String leftAlias, FeatureSet right, String rightAlias, JoinFeatureSet.Type joinType, BinaryComparisonOperator<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 TypeMethodDescriptionGeoTiffStore.append(RenderedImage image, GridGeometry grid, Metadata metadata) Encodes the given image in the GeoTIFF file.GeoTiffStore.append(GridCoverage coverage, Metadata metadata) Adds a new grid coverage in the GeoTIFF file.voidGeoTiffStore.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.getFileSet()Returns the paths to the files used by this GeoTIFF store.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) Creates aGeoTiffStoreinstance associated with this provider.GeoTiffStoreProvider.open(ParameterValueGroup parameters) Creates aGeoTiffStoreinstance from the given parameters.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(DataStoreProvider provider, StorageConnector connector) Creates a new GeoTIFF store from the given file, URL or stream object.GeoTiffStore(DataStore parent, DataStoreProvider provider, StorageConnector connector, boolean hidden) Creates a new GeoTIFF store as a component of a larger data store. -
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.getFileSet()Returns the list of band files and the*_MTL.txtfile.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(DataStoreProvider 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.modifier
Methods in org.apache.sis.storage.modifier that throw DataStoreExceptionModifier and TypeMethodDescriptiondefault SampleDimensionCoverageModifier.customize(CoverageModifier.BandSource source, SampleDimension.Builder dimension) Invoked when a sample dimension is created in a coverage.default GridGeometryCoverageModifier.customize(CoverageModifier.Source source, GridGeometry domain) Invoked when a grid geometry is created for a coverage.default MetadataCoverageModifier.customize(CoverageModifier.Source source, DefaultMetadata metadata) Invoked when a metadata is created for a single coverage or for the whole file.default GenericNameCoverageModifier.customize(CoverageModifier.Source source, GenericName identifier) Invoked when an identifier is created for a single coverage or for the whole file.default booleanCoverageModifier.isElectromagneticMeasurement(CoverageModifier.Source source) Returnstrueif the converted values are measurement in the electromagnetic spectrum. -
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(DataStoreProvider 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.SimpleFeatureStore.components()Returns the tables (feature sets) in this SQL store.Collection<? extends Resource> SQLStore.components()Returns the resources (feature set or coverages) in this SQL store.DataAccess.findCRS(int srid) Returns the coordinate reference system associated to the given identifier.SimpleFeatureStore.findResource(String identifier) Searches for a resource identified by the given identifier.SQLStore.findResource(String identifier) Searches for a resource identified by the given identifier.intDataAccess.findSRID(CoordinateReferenceSystem crs) Returns the SRID associated to the given spatial reference system.SQLStore.getDatabaseSoftwareVersions()Returns the version of the database software, together with versions of extensions if any.SQLStore.getIdentifier()Returns an identifier for the root resource of this SQL store, or an empty value if none.SQLStore.getMetadata()Returns information about the dataset as a whole.protected voidSQLStore.initialize(Connection connection) Invoked the first time thatSQLStoreopens a connection on the database, or after refresh.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.protected abstract ResourceDefinition[]SQLStore.readResourceDefinitions(DataAccess dao) A callback for providing the resource definitions of a database, typically from a content table.voidSQLStore.vacuum()Executes the"VACUUM"statement on the database.Constructors in org.apache.sis.storage.sql that throw DataStoreExceptionModifierConstructorDescriptionSimpleFeatureStore(DataStoreProvider provider, StorageConnector connector, ResourceDefinition... resources) Creates a newSimpleFeatureStorefor the given data source and tables, views or queries.protectedSQLStore(DataStoreProvider provider, StorageConnector connector) Creates a newSQLStorefor the given data source. -
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.getContentPath()Returns a path to the tile content as a file or a BLOB.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.