Uses of Class
org.apache.sis.storage.DataStoreException
Packages that use DataStoreException
Package
Description
Command line interface for Apache SIS.
Utility classes for the implementation of GeoTIFF reader and writer.
Helper classes for the rendering of grid coverages.
Build
DefaultFeatureType
s by inspection of database schemas.Utility classes for the implementation of SIS storage classes.
DataStore
implementation for Coma Separated Values (CSV) files.Simple data store implementations for some ESRI grid formats (ASCII and binary).
DataStore
implementation for a folder containing an arbitrary number of data files.Reads and writes data in GPS Exchange Format (GPX).
Bridges between Apache SIS data stores and Java Image I/O.
Utility classes for the implementation of SIS storage classes.
DataStore
implementation for Well Known Text.Helper classes for reading and writing XML documents using StAX (Streaming API for XML).
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.
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.console
Methods in org.apache.sis.console that throw DataStoreExceptionModifier and TypeMethodDescriptionprivate org.opengis.referencing.crs.CoordinateReferenceSystem
Fetches the source or target coordinate reference system from the value given to the specified option.(package private) final void
Formats the given metadata or CRS object to the standard output stream.(package private) final Object
FormattedOutputCommand.readMetadataOrCRS()
If the given argument seems to be an authority code ("URN", "EPSG", "CRS", "AUTO", etc.), delegates toCRS.forCode(String)
. -
Uses of DataStoreException in org.apache.sis.internal.geotiff
Methods in org.apache.sis.internal.geotiff that throw DataStoreExceptionModifier and TypeMethodDescriptiondefault org.opengis.metadata.Metadata
SchemaModifier.customize
(int image, DefaultMetadata metadata) Invoked when a metadata is created for a single image or for the whole data store. -
Uses of DataStoreException in org.apache.sis.internal.map.coverage
Methods in org.apache.sis.internal.map.coverage that throw DataStoreExceptionModifier and TypeMethodDescriptionfinal GridCoverage
RenderingData.ensureCoverageLoaded
(LinearTransform objectiveToDisplay, org.opengis.geometry.DirectPosition objectivePOI) Loads a new grid coverage if RenderingData.data is null or if the pyramid level changed.final GridCoverage
MultiResolutionCoverageLoader.getOrLoad
(int level) Returns the coverage at the given level if it is present in the cache, or loads and caches it otherwise.final GridCoverage
MultiResolutionCoverageLoader.getOrLoad
(GridGeometry domain, int[] range) If the a grid coverage for the given domain and range is in the cache, returns that coverage.RenderingData.statistics()
Returns statistics on the source image (computed when first requested, then cached).Constructors in org.apache.sis.internal.map.coverage that throw DataStoreExceptionModifierConstructorDescriptionMultiResolutionCoverageLoader
(GridCoverageResource resource, org.opengis.geometry.Envelope domain, int[] range) Creates a new loader of grid coverages from the given resource. -
Uses of DataStoreException in org.apache.sis.internal.sql.feature
Methods in org.apache.sis.internal.sql.feature that throw DataStoreExceptionModifier and TypeMethodDescription(package private) final DefaultFeatureType
FeatureAnalyzer.buildFeatureType()
Completes the creation of the feature type.default DefaultFeatureType
SchemaModifier.editFeatureType
(TableReference table, FeatureTypeBuilder feature) Invoked after analysis of a table for allowing modifications of the inferred feature type.Table.features
(boolean parallel) Returns a stream of all features contained in this dataset.(package private) final Collection<Table>
Analyzer.finish()
Invoked after we finished to create all tables.Optional<org.opengis.geometry.Envelope>
Table.getEnvelope()
Returns an estimation of the envelope of all geometry columns in this table.(package private) abstract Relation[]
FeatureAnalyzer.getForeignerKeys
(Relation.Direction direction) Returns a list of associations between the table analyzed by this method and other tables.(package private) Relation[]
QueryAnalyzer.getForeignerKeys
(Relation.Direction direction) Returns a list of associations between the table read by this method and other tables.(package private) final Relation[]
TableAnalyzer.getForeignerKeys
(Relation.Direction direction) Returns a list of associations between the table read by this method and other tables.(package private) final void
Table.setDeferredSearchTables
(Analyzer analyzer, Map<org.opengis.util.GenericName, Table> tables) Sets the search tables on allRelation
instances for which this operation has been deferred.(package private) final void
Relation.setSearchTable
(Analyzer analyzer, Table search, PrimaryKey primaryKey, Relation.Direction direction) Invoked after construction for setting the table identified byTableReference.catalog
,TableReference.schema
andTableReference.table
names. -
Uses of DataStoreException in org.apache.sis.internal.storage
Methods in org.apache.sis.internal.storage that throw DataStoreExceptionModifier and TypeMethodDescriptionfinal void
MetadataBuilder.addDefaultMetadata
(AbstractFeatureSet resource, StoreListeners listeners) Adds default metadata for the specified resource.final void
MetadataBuilder.addDefaultMetadata
(AbstractGridCoverageResource resource, StoreListeners listeners) Adds default metadata for the specified resource.final void
MetadataBuilder.addDefaultMetadata
(AbstractResource resource, StoreListeners listeners) Adds default metadata for the specified resource.final String
WritableResourceSupport.canNotWrite()
Returns the message for an exception saying that we cannot write the resource.final ChannelDataOutput
WritableResourceSupport.channel
(ChannelDataInput input) Returns the writable channel positioned at the beginning of the stream.final void
GridResourceWrapper.closeDataStore()
Closes the data store associated to the resource, then discards the resource.void
ResourceTransaction.commit()
Makes permanent all changes that have been in current transaction.static void
StoreUtilities.copy
(FeatureSet source, WritableFeatureSet target) Copies all feature from the given source to the given target.protected abstract GridCoverageResource
GridResourceWrapper.createSource()
Creates the resource on which to delegate operations.protected final void
PRJDataStore.deleteAuxiliaryFile
(String extension) Deletes the auxiliary file with the given extension if it exists.final AffineTransform
WritableResourceSupport.getAffineTransform2D
(GridExtent extent, org.opengis.referencing.operation.MathTransform gridToCRS) Returns the "grid to CRS" transform as a two-dimensional affine transform.protected int
TiledGridResource.getAtomSize
(boolean xdim) Returns the number of sample values in an indivisible element of a tile.protected abstract ColorModel
TiledGridResource.getColorModel()
Returns the Java2D color model for rendering images, ornull
if none.Path[]
PRJDataStore.getComponentFiles()
Returns the URIDataStore.location as aPath
component together with auxiliary files.Path[]
ResourceOnFileSystem.getComponentFiles()
Gets the paths to files potentially used by this resource.Path[]
URIDataStore.getComponentFiles()
Returns the URIDataStore.location as aPath
component or an empty array if none.protected boolean
TiledGridResource.getDissociableBands()
Returnstrue
if the reader can load only the requested bands and skip the other bands, orfalse
if the reader must load all bands.Optional<org.opengis.geometry.Envelope>
GridResourceWrapper.getEnvelope()
Returns the spatiotemporal extent of this resource in its most natural coordinate reference system.protected abstract Number
TiledGridResource.getFillValue()
Returns the value to use for filling empty spaces in rasters, ornull
if none, not different than zero or not valid for the target data type.GridResourceWrapper.getGridGeometry()
Returns the valid extent of grid coordinates together with the conversion from those grid coordinates to real world coordinates.Optional<org.opengis.util.GenericName>
GridResourceWrapper.getIdentifier()
Returns the resource persistent identifier.Optional<org.opengis.util.GenericName>
URIDataStore.getIdentifier()
Returns an identifier for the root resource of this data store, or an empty value if none.static String
Returns a short label for the given resource.GridResourceWrapper.getLoadingStrategy()
Returns an indication about when the "physical" loading of raster data will happen.final RasterLoadingStrategy
TiledGridResource.getLoadingStrategy()
Returns an indication about when the "physical" loading of raster data will happen.org.opengis.metadata.Metadata
GridResourceWrapper.getMetadata()
Returns information about this resource.List<double[]>
GridResourceWrapper.getResolutions()
Returns the preferred resolutions (in units of CRS axes) for read operations in this data store.GridResourceWrapper.getSampleDimensions()
Returns the ranges of sample values together with the conversion from samples to real values.protected abstract SampleModel
TiledGridResource.getSampleModel()
Returns the Java2D sample model describing pixel type and layout for all bands.static boolean
URIDataStore.Provider.isWritable
(StorageConnector connector) Returnstrue
if the open options containsStandardOpenOption.WRITE
or if the storage type is some kind of output stream.protected final Path[]
PRJDataStore.listComponentFiles
(String... auxiliaries) Returns the URIDataStore.location as aPath
component together with auxiliary files.static Object
Returns the location (path, URL, URI, etc.) of the given resource.TransactionalResource.newTransaction()
Starts a new transaction on this resource.PRJDataStore.Provider.open
(org.opengis.parameter.ParameterValueGroup parameters) Returns a data store implementation from the given parameters.protected final GridCoverage
TiledGridResource.preload
(GridCoverage coverage) If the loading strategy is to load all tiles atread(…)
time, replaces the given coverage by a coverage will all data in memory.GridResourceWrapper.read
(GridGeometry domain, int... ranges) Loads a subset of the grid coverage represented by this resource.protected final PRJDataStore.AuxiliaryContent
PRJDataStore.readAuxiliaryFile
(String extension) Reads the content of the auxiliary file with the specified extension.protected final void
PRJDataStore.readPRJ()
Reads the"*.prj"
auxiliary file.protected abstract Raster[]
TiledGridCoverage.readTiles
(TiledGridCoverage.AOI iterator) Returns all tiles in the given area of interest.final boolean
WritableResourceSupport.replace
(ChannelDataInput input) Returnstrue
if the caller should add or replace the resource orfalse
if it needs to update an existing resource.void
ResourceTransaction.rollback()
Undoes all changes made in the current transaction.boolean
GridResourceWrapper.setLoadingStrategy
(RasterLoadingStrategy strategy) Sets the preferred strategy about when to do the "physical" loading of raster data.final boolean
TiledGridResource.setLoadingStrategy
(RasterLoadingStrategy strategy) Sets the preferred strategy about when to do the "physical" loading of raster data.protected final GridCoverageResource
GridResourceWrapper.source()
Returns the potentially cached source.final GridCoverage
WritableResourceSupport.update
(GridCoverage coverage) Reads the current coverage in the resource and updates its content with cell values from the given coverage.protected final BufferedWriter
PRJDataStore.writeAuxiliaryFile
(String extension) Creates a writer for an auxiliary file with the specified extension.protected final void
PRJDataStore.writePRJ()
Writes the"*.prj"
auxiliary file ifPRJDataStore.crs
is non-null.Constructors in org.apache.sis.internal.storage that throw DataStoreExceptionModifierConstructorDescriptionprotected
PRJDataStore
(DataStoreProvider provider, StorageConnector connector) Creates a new data store.Subset
(GridGeometry domain, int[] range) Creates parameters for the given domain and range.protected
URIDataStore
(DataStoreProvider provider, StorageConnector connector) Creates a new data store. -
Uses of DataStoreException in org.apache.sis.internal.storage.csv
Methods in org.apache.sis.internal.storage.csv that throw DataStoreExceptionModifier and TypeMethodDescriptionvoid
Store.close()
Closes this data store and releases any underlying resources.final Stream<AbstractFeature>
Store.features
(boolean parallel) Returns the stream of features.Optional<org.opengis.geometry.Envelope>
Store.getEnvelope()
Returns the spatiotemporal extent of CSV data in coordinate reference system of the CSV file.Optional<org.opengis.util.GenericName>
Store.getIdentifier()
Returns an identifier for this CSV data store.org.opengis.metadata.Metadata
Store.getMetadata()
Returns the metadata associated to the CSV file, ornull
if none.StoreProvider.open
(StorageConnector connector) Returns a CSVStore
implementation associated with this provider.StoreProvider.open
(org.opengis.parameter.ParameterValueGroup parameters) Returns a CSVStore
implementation from the given parameters.private GeneralEnvelope
Store.parseEnvelope
(List<String> elements) Parses the envelope described by the header line starting with@stboundedby
.private DefaultFeatureType
Store.parseFeatureType
(List<String> elements) Parses the columns metadata described by the header line starting with@columns
.StoreProvider.probeContent
(StorageConnector connector) Returns the MIME type if the given storage appears to be supported by CSVStore
.Constructors in org.apache.sis.internal.storage.csv that throw DataStoreExceptionModifierConstructorDescriptionStore
(StoreProvider provider, StorageConnector connector) Creates a new CSV store from the given file, URL or stream. -
Uses of DataStoreException in org.apache.sis.internal.storage.esri
Methods in org.apache.sis.internal.storage.esri that throw DataStoreExceptionModifier and TypeMethodDescriptionvoid
AsciiGridStore.close()
Closes this data store and releases any underlying resources.void
RasterStore.close()
Closes this data store and releases any underlying resources.void
RawRasterStore.close()
Closes this data store and releases any underlying resources.void
WritableStore.close()
Closes this data store and releases any underlying resources.(package private) final void
RasterStore.createMetadata
(String formatName, String formatKey) Builds metadata and assigns the result to theRasterStore.metadata
field.private static SequenceType
WritableStore.getAffineCoefficients
(Map<String, Object> header, GridGeometry gg, WritableResourceSupport h) Gets the coefficients of the affine transform.Path[]
RasterStore.getComponentFiles()
Returns the URIDataStore.location as aPath
component together with auxiliary files.Path[]
RawRasterStore.getComponentFiles()
Returns the URIDataStore.location as aPath
component together with auxiliary files.AsciiGridStore.getGridGeometry()
Returns the valid extent of grid coordinates together with the conversion from those grid coordinates to real world coordinates.RawRasterStore.getGridGeometry()
Returns the valid extent of grid coordinates together with the conversion from those grid coordinates to real world coordinates.private String
AsciiGridStore.getHeaderValue
(Map<String, String> header, String key) Gets a value from the header map and ensures that it is non-null.org.opengis.metadata.Metadata
AsciiGridStore.getMetadata()
Returns the metadata associated to the ASII grid file.org.opengis.metadata.Metadata
RawRasterStore.getMetadata()
Returns the metadata associated to the raw binary file.AsciiGridStore.getSampleDimensions()
Returns the ranges of sample values together with the conversion from samples to real values.RasterStore.getSampleDimensions()
Returns the sample dimensions computed byloadBandDescriptions(…)
.RawRasterStore.getSampleDimensions()
Returns the ranges of sample values.(package private) final CharactersView
AsciiGridStore.input()
Returns the input if it has not been closed.(package private) final void
RasterStore.loadBandDescriptions
(String name, SampleModel sm, Statistics... stats) Loads"*.stx"
and"*.clr"
files if present then buildsRasterStore.sampleDimensions
andRasterStore.colorModel
from those information.AsciiGridStoreProvider.open
(StorageConnector connector) Returns anAsciiGridStore
implementation associated with this provider.RawRasterStoreProvider.open
(StorageConnector connector) Returns anRawRasterStore
implementation associated with this provider.AsciiGridStoreProvider.probeContent
(StorageConnector connector) Returns the MIME type if the given storage appears to be supported byAsciiGridStore
.RawRasterStoreProvider.probeContent
(StorageConnector connector) ReturnsProbeResult.SUPPORTED
if the given storage appears to be supported byRawRasterStore
.AsciiGridStore.read
(GridGeometry domain, int... ranges) Loads the data if not already done and closes the channel if read-only.RawRasterReader.read
(GridGeometry domain, RangeArgument range) Loads the data.RawRasterStore.read
(GridGeometry domain, int... ranges) Loads the data.private ColorModel
RasterStore.readColorMap
(int dataType, int mapSize, int numBands) Reads the"*.clr"
auxiliary file.private void
AsciiGridStore.readHeader()
Reads the"*.prj"
file and the header if not already done.private void
RawRasterStore.readHeader()
Reads the"*.hdr"
and"*.prj"
files.private Statistics[]
RasterStore.readStatistics
(String name, SampleModel sm) Reads the"*.stx"
auxiliary file.void
WritableStore.write
(GridCoverage coverage, WritableGridCoverageResource.Option... options) Writes a new coverage in the data store for this resource.Constructors in org.apache.sis.internal.storage.esri that throw DataStoreExceptionModifierConstructorDescription(package private)
AsciiGridStore
(AsciiGridStoreProvider provider, StorageConnector connector, boolean readOnly) Creates a new ASCII Grid store from the given file, URL or stream.(package private)
RasterStore
(DataStoreProvider provider, StorageConnector connector) Creates a new raster store from the given file, URL or stream.(package private)
RawRasterStore
(RawRasterStoreProvider provider, StorageConnector connector) Creates a new raw raster store from the given file or URL.WritableStore
(AsciiGridStoreProvider provider, StorageConnector connector) Creates a new ASCII Grid store from the given file, URL or stream. -
Uses of DataStoreException in org.apache.sis.internal.storage.folder
Methods in org.apache.sis.internal.storage.folder that throw DataStoreExceptionModifier and TypeMethodDescriptionCreate a new file for the given resource.void
Store.close()
Closes all children resources.Store.components()
Returns all resources found in the folder given at construction time.Store.getStructuredView()
Returns a more structured (if possible) view of this resource.UnstructuredAggregate.getStructuredView()
Returns a more structured (if possible) view of this resource.StoreProvider.open
(StorageConnector connector) Returns a data store implementation associated with this provider.private DataStore
StoreProvider.open
(StorageConnector connector, String format, EnumSet<StandardOpenOption> options) Shared implementation of publicopen(…)
methods.StoreProvider.open
(org.opengis.parameter.ParameterValueGroup parameters) Returns a data store implementation associated with this provider for the given parameters.StoreProvider.probeContent
(StorageConnector connector) ReturnsProbeResult.SUPPORTED
if the given storage appears to be a folder.void
Removes aResource
from this store.Constructors in org.apache.sis.internal.storage.folder that throw DataStoreExceptionModifierConstructorDescriptionprivate
Store
(Store parent, StorageConnector connector, org.opengis.util.NameFactory nameFactory) Creates a new sub-folder store as a child of the given folder store.(package private)
Store
(DataStoreProvider provider, StorageConnector connector, Path path, DataStoreProvider format) Creates a new folder store from the given file, path or URI.(package private)
WritableStore
(DataStoreProvider provider, StorageConnector connector, Path path, DataStoreProvider format) Creates a new folder store from the given file, path or URI. -
Uses of DataStoreException in org.apache.sis.internal.storage.gpx
Methods in org.apache.sis.internal.storage.gpx that throw DataStoreExceptionModifier and TypeMethodDescriptionvoid
WritableStore.add
(Iterator<? extends AbstractFeature> features) Appends new feature instances in thisFeatureSet
.void
Store.close()
Closes this data store and releases any underlying resources.final Stream<AbstractFeature>
Store.features
(boolean parallel) Returns the stream of features.protected Stream<? extends AbstractFeature>
Updater.features()
Returns the stream of features to copy.Optional<org.opengis.geometry.Envelope>
Store.getEnvelope()
Returns the spatiotemporal envelope of this resource.org.opengis.metadata.Metadata
Store.getMetadata()
Returns information about the dataset as a whole.Store.getVersion()
Returns the GPX file version.Reader.initialize
(boolean readMetadata) Reads the metadata.StoreProvider.open
(StorageConnector connector) Returns a GPXStore
implementation associated with this provider.boolean
WritableStore.removeIf
(Predicate<? super AbstractFeature> filter) Removes all feature instances from thisFeatureSet
which matches the given predicate.void
WritableStore.replaceIf
(Predicate<? super AbstractFeature> filter, UnaryOperator<AbstractFeature> replacement) Updates all feature instances from thisFeatureSet
which match the given predicate.void
Store.setVersion
(Version version) Sets the version of the file to write.private Updater
WritableStore.updater()
Returns the helper object to use for updating the GPX file.void
WritableStore.updateType
(DefaultFeatureType newType) Verifies the type of feature instances in this feature set.void
WritableStore.write
(org.opengis.metadata.Metadata metadata, Stream<? extends AbstractFeature> features) Deprecated.void
Writer.write
(AbstractFeature feature) Writes the given feature.Constructors in org.apache.sis.internal.storage.gpx that throw DataStoreExceptionModifierConstructorDescriptionStore
(StoreProvider provider, StorageConnector connector) Creates a new GPX store from the given file, URL or stream object.WritableStore
(StoreProvider provider, StorageConnector connector) Creates a new GPX store from the given file, URL or stream object.(package private)
Writer
(WritableStore owner, Metadata metadata, OutputStream temporary) Creates a new GPX writer for the given data store. -
Uses of DataStoreException in org.apache.sis.internal.storage.image
Methods in org.apache.sis.internal.storage.image that throw DataStoreExceptionModifier and TypeMethodDescriptionAdds a newResource
in thisAggregate
.final void
FormatFinder.close()
Closes all unused resources.void
WorldFileStore.close()
Closes this data store and releases any underlying resources.void
WritableStore.close()
Closes this data store and releases any underlying resources.Collection<? extends GridCoverageResource>
WorldFileStore.components()
Returns all images in this store.(package private) WorldFileResource
WorldFileStore.createImageResource
(int index) Creates aGridCoverageResource
for the specified image.(package private) WorldFileResource
WritableStore.createImageResource
(int index) Creates aGridCoverageResource
for the specified image.(package private) final ImageReader
FormatFilter.createReader
(String identifier, FormatFinder format, Map<ImageReaderSpi, Boolean> deferred) Creates a new reader for the given input.(package private) final ImageWriter
FormatFilter.createWriter
(String identifier, FormatFinder format, RenderedImage image, Map<ImageWriterSpi, Boolean> deferred) Creates a new writer for the given output.(package private) final void
WorldFileResource.decrementImageIndex()
Decrements the image index.(package private) final WorldFileResource
SingleImageStore.delegate()
Returns the singleton resource in this aggregate.(package private) final ImageReaderSpi
FormatFilter.findProvider
(String identifier, StorageConnector connector, Set<ImageReaderSpi> done) Finds a provider for the given input, or returnsnull
if none.Path[]
WorldFileStore.getComponentFiles()
Returns paths to the main file together with auxiliary files.final Optional<org.opengis.geometry.Envelope>
SingleImageStore.getEnvelope()
Returns the envelope of the grid geometry if known.(package private) final String[]
FormatFinder.getFormatName()
Returns the name of the format.final GridGeometry
SingleImageStore.getGridGeometry()
Returns the valid extent of grid coordinates together with the conversion from those grid coordinates to real world coordinates.final GridGeometry
WorldFileResource.getGridGeometry()
Returns the valid extent of grid coordinates together with the conversion from those grid coordinates to real world coordinates.(package private) final GridGeometry
WorldFileStore.getGridGeometry
(int index) Gets the grid geometry for image at the given index.final Optional<org.opengis.util.GenericName>
WorldFileResource.getIdentifier()
Returns the resource identifier.final RasterLoadingStrategy
SingleImageStore.getLoadingStrategy()
Returns an indication about when the "physical" loading of raster data will happen.org.opengis.metadata.Metadata
WorldFileStore.getMetadata()
Returns information about the data store as a whole.(package private) final ImageReader
FormatFinder.getOrCreateReader()
Returns the user-specified reader or searches for a reader that claim to be able to read the storage input.(package private) final ImageWriter
FormatFinder.getOrCreateWriter()
Returns the user-specified writer or searches for a writer for the file suffix.final List<double[]>
SingleImageStore.getResolutions()
Returns the preferred resolutions (in units of CRS axes) for read operations in this data store.final List<SampleDimension>
SingleImageStore.getSampleDimensions()
Returns the ranges of sample values in each band.final List<SampleDimension>
WorldFileResource.getSampleDimensions()
Returns the ranges of sample values in each band.(package private) final int
WritableStore.isMultiImages()
Returns whether this data store contains more than one image.private static String
Returns a label for the given resource in error messages.WorldFileStoreProvider.open
(StorageConnector connector) Returns aWorldFileStore
implementation associated with this provider.WorldFileStoreProvider.probeContent
(StorageConnector connector) Returns the MIME type if the image file is recognized by an Image I/O reader.final GridCoverage
SingleImageStore.read
(GridGeometry domain, int... ranges) Loads a subset of the image wrapped by this resource.final GridCoverage
WorldFileResource.read
(GridGeometry domain, int... ranges) Loads a subset of the image wrapped by this resource.(package private) final ImageReader
WorldFileStore.reader()
Returns the reader if it has not been closed.private AffineTransform2D
WorldFileStore.readWorldFile()
Reads the "World file" by searching for an auxiliary file with a suffix inferred from the suffix of the main file.private AffineTransform2D
WorldFileStore.readWorldFile
(String wld) Reads the "World file" by parsing an auxiliary file with the given suffix.(package private) void
Invoked byWorldFileStore.Components
when the caller want to remove a resource.void
Removes aResource
from thisAggregate
.(package private) final void
WorldFileStore.Components.removed
(int index) Invoked after an image has been removed from the image file.(package private) String
WorldFileStore.setGridGeometry
(int index, GridGeometry gg) Sets the store-wide grid geometry when a new coverage is written.(package private) String
WritableStore.setGridGeometry
(int index, GridGeometry gg) Sets the store-wide grid geometry.final boolean
SingleImageStore.setLoadingStrategy
(RasterLoadingStrategy strategy) Sets the preferred strategy about when to do the "physical" loading of raster data.(package private) final WorldFileStore
WorldFileResource.store()
Returns the data store.final GridCoverageResource
Requests a subset of the coverage.void
SingleImageStore.Writable.write
(GridCoverage coverage, WritableGridCoverageResource.Option... options) Writes a new coverage in the data store for this resource.void
WritableResource.write
(GridCoverage coverage, WritableGridCoverageResource.Option... options) Writes a new coverage in the data store for this resource.(package private) final ImageWriter
WritableStore.writer()
Returns the writer if it has not been closed.Constructors in org.apache.sis.internal.storage.image that throw DataStoreExceptionModifierConstructorDescription(package private)
FormatFinder
(WorldFileStoreProvider provider, StorageConnector connector) Creates a new format finder.(package private)
MultiImageStore
(FormatFinder format) Creates a new store from the given file, URL or stream.(package private)
SingleImageStore
(FormatFinder format) Creates a new store from the given file, URL or stream.(package private)
WorldFileStore
(FormatFinder format, boolean readOnly) Creates a new store from the given file, URL or stream.WorldFileStore
(WorldFileStoreProvider provider, StorageConnector connector) Creates a new store from the given file, URL or stream.(package private)
Writable
(FormatFinder format) Creates a new store from the given file, URL or stream.(package private)
Writable
(FormatFinder format) Creates a new store from the given file, URL or stream.(package private)
WritableResource
(WritableStore store, StoreListeners parent, int imageIndex, GridGeometry gridGeometry) Creates a new resource.(package private)
WritableStore
(FormatFinder format) Creates a new store from the given file, URL or stream. -
Uses of DataStoreException in org.apache.sis.internal.storage.io
Methods in org.apache.sis.internal.storage.io that throw DataStoreExceptionModifier and TypeMethodDescriptionChannelFactory.inputStream
(String filename, StoreListeners listeners) Returns the readable channel as an input stream.ChannelFactory.Stream.inputStream
(String filename, StoreListeners listeners) Returns the storage object as an input stream.ChannelFactory.outputStream
(String filename, StoreListeners listeners) Returns the writable channel as an output stream.ChannelFactory.Stream.outputStream
(String filename, StoreListeners listeners) Returns the storage object as an output stream.abstract ReadableByteChannel
ChannelFactory.readable
(String filename, StoreListeners listeners) Returns a byte channel from the input given to theprepare(…)
method.ChannelFactory.Stream.readable
(String filename, StoreListeners listeners) Returns the readable channel on the first invocation or throws an exception on all subsequent invocations.ChannelFactory.Stream.writable
(String filename, StoreListeners listeners) Returns the writable channel on the first invocation or throws an exception on all subsequent invocations.abstract WritableByteChannel
ChannelFactory.writable
(String filename, StoreListeners listeners) Returns a byte channel from the output given to theprepare(…)
method. -
Uses of DataStoreException in org.apache.sis.internal.storage.wkt
Methods in org.apache.sis.internal.storage.wkt that throw DataStoreExceptionModifier and TypeMethodDescriptionvoid
Store.close()
Closes this data store and releases any underlying resources.protected Path
FirstKeywordPeek.getAuxiliaryPath
(StorageConnector connector) If the data to read is not provided by the connector by rather by some auxiliary file relative to the connector, returns the path to that auxiliary file.org.opengis.metadata.Metadata
Store.getMetadata()
Returns the metadata associated to the parsed objects, ornull
if none.StoreProvider.open
(StorageConnector connector) Returns aStore
implementation associated with this provider.private void
Store.parse()
Parses the objects, if not already done.final ProbeResult
FirstKeywordPeek.probeContent
(Path file) ReturnsProbeResult.SUPPORTED
if the content of given file begins with an expected keyword.final ProbeResult
FirstKeywordPeek.probeContent
(DataStoreProvider provider, StorageConnector connector) ReturnsProbeResult.SUPPORTED
if the given storage appears to begin with an expected keyword.StoreProvider.probeContent
(StorageConnector connector) Returns WKT version if the given storage appears to be supported by WKTStore
.Constructors in org.apache.sis.internal.storage.wkt that throw DataStoreExceptionModifierConstructorDescriptionStore
(StoreProvider provider, StorageConnector connector) Creates a new WKT store from the given file, URL or stream. -
Uses of DataStoreException in org.apache.sis.internal.storage.xml
Methods in org.apache.sis.internal.storage.xml that throw DataStoreExceptionModifier and TypeMethodDescriptionvoid
Store.close()
Closes this data store and releases any underlying resources.org.opengis.metadata.Metadata
Store.getMetadata()
Returns the metadata associated to the unmarshalled object, ornull
if none.StoreProvider.open
(StorageConnector connector) Returns aStore
implementation associated with this provider.AbstractProvider.probeContent
(StorageConnector connector) Returns the MIME type if the given storage appears to be supported by the data store.(package private) final ProbeResult
MimeTypeDetector.probeContent()
Wraps the call toMimeTypeDetector.getMimeType()
for catchingIOException
and for instantiating theProbeResult
.private void
Store.unmarshal()
Unmarshal the object, if not already done.Constructors in org.apache.sis.internal.storage.xml that throw DataStoreExceptionModifierConstructorDescriptionStore
(StoreProvider provider, StorageConnector connector) Creates a new XML store from the given file, URL or stream. -
Uses of DataStoreException in org.apache.sis.internal.storage.xml.stream
Methods in org.apache.sis.internal.storage.xml.stream that throw DataStoreExceptionModifier and TypeMethodDescriptionvoid
RewriteOnUpdate.add
(Iterator<? extends AbstractFeature> features) Appends new feature instances in theFeatureSet
.void
StaxDataStore.close()
Closes the input or output stream and releases any resources used by this XML data store.(package private) final XMLStreamWriter
StaxDataStore.createWriter
(StaxStreamWriter target, OutputStream temporary) Creates a new XML stream writer for writing the XML document.protected Stream<? extends AbstractFeature>
RewriteOnUpdate.features()
Returns the stream of features to copy.private Stream<? extends AbstractFeature>
RewriteOnUpdate.filtered()
Returns the features to write.void
RewriteOnUpdate.flush()
Writes immediately all feature instances.boolean
RewriteOnUpdate.removeIf
(Predicate<? super AbstractFeature> filter) Removes all feature instances from theFeatureSet
which matches the given predicate.void
RewriteOnUpdate.replaceIf
(Predicate<? super AbstractFeature> filter, UnaryOperator<AbstractFeature> updater) Updates all feature instances from theFeatureSet
which match the given predicate.Constructors in org.apache.sis.internal.storage.xml.stream that throw DataStoreExceptionModifierConstructorDescriptionprotected
StaxDataStore
(StaxDataStoreProvider provider, StorageConnector connector) Creates a new data store.protected
StaxStreamWriter
(StaxDataStore owner, OutputStream temporary) Creates a new XML writer for the given data store. -
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
.private GridGeometry
CoverageSubset.clip
(GridGeometry domain, GridRoundingMode rounding, GridClippingMode clipping) Clips the given domain to the area of interest specified by the query.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.private ByteBuffer
StorageConnector.createByteBuffer()
private ChannelDataInput
StorageConnector.createChannelDataInput
(boolean asImageInputStream) Creates a view for the input as aChannelDataInput
if possible.private ChannelDataOutput
StorageConnector.createChannelDataOutput()
Creates a view for the storage as aChannelDataOutput
if possible.private DataInput
StorageConnector.createDataInput()
Creates a view for the input as aDataInput
if possible.private DataOutput
StorageConnector.createDataOutput()
Creates a view for the output as aDataOutput
if possible.private ImageInputStream
StorageConnector.createImageInputStream()
Creates anImageInputStream
from theDataInput
if possible.private InputStream
StorageConnector.createInputStream()
Creates an input stream fromReadableByteChannel
if possible, or fromImageInputStream
otherwise.protected org.opengis.metadata.Metadata
AbstractFeatureSet.createMetadata()
Invoked in a synchronized block the first time thatgetMetadata()
is invoked.protected org.opengis.metadata.Metadata
AbstractGridCoverageResource.createMetadata()
Invoked in a synchronized block the first time thatgetMetadata()
is invoked.protected org.opengis.metadata.Metadata
AbstractResource.createMetadata()
Invoked in a synchronized block the first time thatAbstractResource.getMetadata()
is invoked.protected org.opengis.metadata.Metadata
CoverageSubset.createMetadata()
Creates metadata about this subset.protected org.opengis.metadata.Metadata
FeatureSubset.createMetadata()
Creates metadata about this subset.private OutputStream
StorageConnector.createOutputStream()
Creates an output stream fromWritableByteChannel
if possible, or fromImageOutputStream
otherwise.private Reader
StorageConnector.createReader()
Creates a character reader if possible.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.FeatureSubset.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.private Resource
Recursively searches for a resource identified by the given identifier.Optional<org.opengis.geometry.Envelope>
AbstractGridCoverageResource.getEnvelope()
Returns the envelope of the grid geometry if known.Optional<org.opengis.geometry.Envelope>
AbstractResource.getEnvelope()
Returns the spatiotemporal envelope of this resource.Optional<org.opengis.geometry.Envelope>
DataSet.getEnvelope()
Returns the spatiotemporal extent of this resource in its most natural coordinate reference system.CoverageSubset.getGridGeometry()
Returns the valid extent of grid coordinates clipped to the area specified in the query.GridCoverageResource.getGridGeometry()
Returns the valid extent of grid coordinates together with the conversion from those grid coordinates to real world coordinates.Optional<org.opengis.util.GenericName>
AbstractFeatureSet.getIdentifier()
Returns the feature type name as the identifier for this resource.Optional<org.opengis.util.GenericName>
AbstractResource.getIdentifier()
Returns the resource persistent identifier if available.Optional<org.opengis.util.GenericName>
DataStore.getIdentifier()
Returns an identifier for the root resource of this data store, or an empty value if none.Optional<org.opengis.util.GenericName>
Resource.getIdentifier()
Returns the resource persistent identifier.CoverageSubset.getLoadingStrategy()
Returns an indication about when the "physical" loading of raster data will happen.default RasterLoadingStrategy
GridCoverageResource.getLoadingStrategy()
Returns an indication about when the "physical" loading of raster data will happen.final org.opengis.metadata.Metadata
AbstractResource.getMetadata()
Returns a description of this resource.abstract org.opengis.metadata.Metadata
DataStore.getMetadata()
Returns information about the data store as a whole.org.opengis.metadata.Metadata
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.CoverageSubset.getSampleDimensions()
Returns the ranges of sample values together with the conversion from samples to real values.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.FeatureSubset.getType()
Returns a description of properties that are common to all features in this dataset.private ProbeProviderPair
Implementation ofDataStoreRegistry.probeContentType(Object)
andDataStoreRegistry.open(Object)
.private void
CoverageQuery.namesToIndices
(GridCoverageResource source) Converts the sample dimension names to sample dimension indices.abstract DataStore
DataStoreProvider.open
(StorageConnector connector) Returns a data store implementation associated with this provider.DataStoreProvider.open
(org.opengis.parameter.ParameterValueGroup parameters) Returns a data store implementation associated with this provider for the given parameters.Creates aDataStore
for reading the given storage.static DataStore
Creates aDataStore
for the given storage.(package private) final boolean
StorageConnector.prefetch()
Transfers more bytes from theDataInput
to theByteBuffer
, if possible.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.DataStoreRegistry.probeContentType
(Object storage) Returns the MIME type of the storage file format, ornull
if unknown or not applicable.static String
DataStores.probeContentType
(Object storage) Returns the MIME type of the storage file format, ornull
if unknown or not applicable.CoverageSubset.read
(GridGeometry domain, int... ranges) Loads a subset of the grid coverage represented by this resource.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.private void
StorageConnector.reset()
Resets the rootStorageConnector.storage
object.private boolean
StorageConnector.reset
(StorageConnector.Coupled c) Resets the given view.boolean
CoverageSubset.setLoadingStrategy
(RasterLoadingStrategy strategy) Sets the preferred strategy about when to do the "physical" loading of raster data.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.private <N> ProbeResult
DataStoreProvider.tryNextProber
(StorageConnector connector, DataStoreProvider.ProberList<?, N> list) Tries theDataStoreProvider.ProberList.next
probe.private <S> ProbeResult
DataStoreProvider.tryProber
(StorageConnector connector, Class<S> type, DataStoreProvider.Prober<? super S> prober) Implementation ofDataStoreProvider.probeContent(StorageConnector, Class, Prober)
for a single element in a list of probe.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.(package private)
ProbeInputStream
(StorageConnector owner, InputStream input) Creates a new input stream which delegates everything to the given input except the mark/reset operations.(package private)
ProbeReader
(StorageConnector owner, Reader input) Creates a new reader which delegates everything to the given reader except the mark/reset operations. -
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
.protected org.opengis.metadata.Metadata
AggregatedFeatureSet.createMetadata()
Invoked in a synchronized block the first time thatgetMetadata()
is invoked.protected org.opengis.metadata.Metadata
ConcatenatedGridResource.createMetadata()
Creates when first requested the metadata about this resource.protected org.opengis.metadata.Metadata
GroupAggregate.createMetadata()
Creates when first requested the metadata about this aggregate.JoinFeatureSet.features
(boolean parallel) Returns a stream of all features contained in this dataset.final Optional<org.opengis.geometry.Envelope>
AggregatedFeatureSet.getEnvelope()
Returns the union of the envelopes in all aggregated feature sets.Optional<org.opengis.geometry.Envelope>
ConcatenatedGridResource.getEnvelope()
Returns the spatiotemporal envelope of this resource.Optional<org.opengis.geometry.Envelope>
GroupAggregate.getEnvelope()
Returns the spatiotemporal envelope of this resource.private boolean
AggregatedFeatureSet.getEnvelopes
(List<org.opengis.geometry.Envelope> addTo) Adds the envelopes of the aggregated feature sets in the given list.ConcatenatedGridResource.getLoadingStrategy()
Returns an indication about when the "physical" loading of raster data will happen.(package private) final GridCoverage
ConcatenatedGridCoverage.Loader.getOrLoad
(Integer key, GridCoverageResource source) Returns the coverage if available in the cache, or load it immediately otherwise.List<double[]>
ConcatenatedGridResource.getResolutions()
Returns the preferred resolutions (in units of CRS axes) for read operations in this data store.ConcatenatedGridResource.read
(GridGeometry domain, int... ranges) Loads a subset of the grid coverage represented by this resource.boolean
ConcatenatedGridResource.setLoadingStrategy
(RasterLoadingStrategy strategy) Sets the preferred strategy about when to do the "physical" loading of raster data.Requests a subset of features and/or feature properties from this resource.(package private) static ImmutableEnvelope
GroupAggregate.unionOfComponents
(Resource[] components) Computes the union of envelopes provided by all the given resources.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
.(package private)
GridSlice
(GridCoverageResource slice) Creates a new slice for the specified resource.(package private)
Iterator()
Creates a new iterator.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 return DataStoreExceptionModifier and TypeMethodDescription(package private) final DataStoreException
GeoTiffStore.errorIO
(IOException e) Returns the exception to throw when an I/O error occurred.Methods in org.apache.sis.storage.geotiff that throw DataStoreExceptionModifier and TypeMethodDescriptionprivate boolean
DataCube.canReadDirect
(TiledGridResource.Subset subset) Returnstrue
if the image can be read with theDataSubset
base class, orfalse
if the more sophisticatedCompressedSubset
sub-class is needed.void
GeoTiffStore.close()
Closes this GeoTIFF store and releases any underlying resources.GeoTiffStore.components()
Returns descriptions of all images in this GeoTIFF file.protected org.opengis.metadata.Metadata
ImageFileDirectory.createMetadata()
Builds the metadata with the information stored in the fields of this IFD.protected GridCoverageResource
MultiResolutionImage.createSource()
Creates the resource on which to delegate operations.GeoTiffStore.findResource
(String sequence) Returns the image at the given index.(package private) void
ImageMetadataBuilder.finish
(ImageFileDirectory image, StoreListeners listeners) Completes the metadata with the information stored in the fields of the IFD.Optional<org.opengis.util.GenericName>
GeoTiffStore.getIdentifier()
Returns an identifier constructed from the name of the TIFF file.(package private) final GridCoverageResource
Reader.getImage
(int index) Returns the potentially pyramided Image File Directories (IFDs) at the given index.private ImageFileDirectory
MultiResolutionImage.getImageFileDirectory
(int index) Completes and returns the image at the given pyramid level.private ImageFileDirectory
Reader.getImageFileDirectory
(int index) Returns the next Image File Directory (IFD), ornull
if we reached the last IFD.org.opengis.metadata.Metadata
GeoTiffStore.getMetadata()
Returns information about the dataset as a whole.GeoTiffStore.getNativeMetadata()
Returns TIFF tags and GeoTIFF keys as a tree for debugging purpose.private double[]
MultiResolutionImage.getResolution
(GridGeometry domain) Converts a resolution from units in the given CRS to units of this coverage CRS.List<double[]>
MultiResolutionImage.getResolutions()
Returns the preferred resolutions (in units of CRS axes) for read operations in this data store.(package private) final void
ImageFileDirectory.initReducedResolution
(ImageFileDirectory fullResolution, double[] scales) If this IFD has no grid geometry information, derives a grid geometry by applying a scale factor on the grid geometry of another IFD.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
.final GridCoverage
DataCube.read
(GridGeometry domain, int... ranges) Creates aGridCoverage
which will load pixel data in the given domain.MultiResolutionImage.read
(GridGeometry domain, int... ranges) Loads a subset of the grid coverage represented by this resource.private Reader
GeoTiffStore.reader()
Returns the reader if it is not closed, or thrown an exception otherwise.private void
Reader.readNextImageOffset()
SetsReader.nextIFD
to the next offset read from the TIFF file and makes sure that it will not cause an infinite loop.(package private) Raster
CompressedSubset.readSlice
(long[] offsets, long[] byteCounts, long[] lower, long[] upper, int[] subsampling, Point location) Reads a two-dimensional slice of the data cube from the given input channel.(package private) Raster
DataSubset.readSlice
(long[] offsets, long[] byteCounts, long[] lower, long[] upper, int[] subsampling, Point location) Reads a two-dimensional slice of the data cube from the given input channel.protected final Raster[]
DataSubset.readTiles
(TiledGridCoverage.AOI iterator) Returns all tiles in the given area of interest.private long
Reader.readUnsignedInt()
Reads theint
orlong
value (depending if the file is a standard of big TIFF) at the current Reader.input position.private long
Reader.readUnsignedShort()
Reads theshort
orlong
value (depending if the file is standard of big TIFF) at the current Reader.input position.private double[]
MultiResolutionImage.resolution
(int level) Returns the resolution (in units of CRS axes) for the given level.(package private) final void
Reader.resolveDeferredEntries
(ImageFileDirectory dir) Reads all entries that were deferred.private void
Reader.resolveDeferredEntries
(ImageFileDirectory dir, long ignoreAfter) Reads some of the entries that has been deferred.Constructors in org.apache.sis.storage.geotiff that throw DataStoreExceptionModifierConstructorDescription(package private)
CompressedSubset
(DataCube source, TiledGridResource.Subset subset) Creates a new data subset.(package private)
DataSubset
(DataCube source, TiledGridResource.Subset subset) Creates a new data subset.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.(package private)
Reader
(GeoTiffStore store, ChannelDataInput input) Creates a new GeoTIFF reader which will read data from the given input. -
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.protected org.opengis.metadata.Metadata
BandGroup.createMetadata()
Invoked in a synchronized block the first time thatAbstractResource.getMetadata()
is invoked.protected GridCoverageResource
Band.createSource()
Creates the GeoTIFF reader and get the first image from it.protected Path
LandsatStoreProvider.Peek.getAuxiliaryPath
(StorageConnector connector) Returns the path to the metadata file relative to the directory specified by user.Optional<org.opengis.util.GenericName>
Band.getIdentifier()
Returns the resource persistent identifier.Optional<org.opengis.util.GenericName>
LandsatStore.getIdentifier()
Returns the value associated toLANDSAT_SCENE_ID
in the Landsat metadata file.org.opengis.metadata.Metadata
LandsatStore.getMetadata()
Returns information about the dataset as a whole.private void
LandsatStore.loadMetadata()
Parses the main Landsat text file.LandsatStoreProvider.open
(StorageConnector connector) Returns aLandsatStore
implementation associated with this provider.private void
MetadataReader.parseKeyValuePair
(String key, int band, String value) Invoked for every key-value pairs found in the file for the main groups.LandsatStoreProvider.probeContent
(StorageConnector connector) ReturnsProbeResult.SUPPORTED
if the given storage appears to be supported byLandsatStore
.(package private) void
MetadataReader.read
(BufferedReader reader) Parses the metadata from the given characters reader.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.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.Optional<org.opengis.util.GenericName>
SQLStore.getIdentifier()
SQL data store root resource has no identifier.org.opengis.metadata.Metadata
SQLStore.getMetadata()
Returns information about the dataset as a whole.private Database<?>
SQLStore.model()
Returns the database model, analyzing the database schema when first needed.SQLStoreProvider.open
(StorageConnector connector) Returns aSQLStore
implementation associated with this provider.SQLStoreProvider.open
(org.opengis.parameter.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.
WritableStore.add(Iterator)
, after we resolved how to specify metadata.