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.netcdf Maps ISO metadata elements from/to the Climate and Forecast (CF) attributes in a netCDF file.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 aDataStore
can not be opened because of invalid parameters.class
InternalDataStoreException
Thrown when an internal error occurred in aDataStore
implementation.class
ReadOnlyStorageException
Thrown when aDataStore
can not perform a write operations.class
UnsupportedQueryException
Thrown when a resources can not be filtered with a given query.class
UnsupportedStorageException
Thrown when noDataStoreProvider
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 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.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, ornull
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.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, ornull
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 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.static String
DataStores. probeContentType(Object storage)
Returns the MIME type of the storage file format, ornull
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 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 FeatureSet
FeatureSet. subset(Query query)
Requests a subset of features and/or feature properties from this resource.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 Constructor Description DataStore(DataStoreProvider provider, StorageConnector connector)
Creates a new instance for the given storage (typically file or database).DataStore(DataStore parent, StorageConnector connector)
Creates a new instance as a child of another data store instance. -
Uses of DataStoreException in org.apache.sis.storage.earthobservation
Methods in org.apache.sis.storage.earthobservation that throw DataStoreException Modifier and Type Method Description void
LandsatStore. close()
Closes this Landsat store and releases any underlying resources.Optional<GenericName>
LandsatStore. getIdentifier()
Returns the value associated toLANDSAT_SCENE_ID
in the Landsat metadata file.Metadata
LandsatStore. getMetadata()
Returns information about the dataset as a whole.DataStore
LandsatStoreProvider. open(StorageConnector connector)
Returns aLandsatStore
implementation associated with this provider.ProbeResult
LandsatStoreProvider. probeContent(StorageConnector connector)
ReturnsProbeResult.SUPPORTED
if the given storage appears to be supported byLandsatStore
.Constructors in org.apache.sis.storage.earthobservation that throw DataStoreException 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.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 aGeoTiffStore
implementation associated with this provider.ProbeResult
GeoTiffStoreProvider. probeContent(StorageConnector connector)
ReturnsProbeResult.SUPPORTED
if the given storage appears to be supported byGeoTiffStore
.Constructors in org.apache.sis.storage.geotiff that throw DataStoreException Constructor Description 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.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.DataStore
NetcdfStoreProvider. open(StorageConnector connector)
Returns aNetcdfStore
implementation associated with this provider.ProbeResult
NetcdfStoreProvider. probeContent(StorageConnector connector)
ReturnsProbeResult.SUPPORTED
if the given storage appears to be supported byNetcdfStore
.Constructors in org.apache.sis.storage.netcdf that throw DataStoreException Constructor Description NetcdfStore(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 DataStoreException Modifier and Type Method Description void
SQLStore. close()
Closes this SQL store and releases any underlying resources.Collection<Resource>
SQLStore. components()
Returns the resources (features or coverages) in this SQL store.Resource
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 aSQLStore
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)
ReturnsProbeResult.SUPPORTED
if the given storage appears to be supported bySQLStore
.Constructors in org.apache.sis.storage.sql that throw DataStoreException Constructor Description SQLStore(SQLStoreProvider provider, StorageConnector connector, GenericName... tableNames)
Creates a new instance for the given storage.
-