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
DefaultFeatureTypes 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.CoordinateReferenceSystemFetches the source or target coordinate reference system from the value given to the specified option.(package private) final voidFormats the given metadata or CRS object to the standard output stream.(package private) final ObjectFormattedOutputCommand.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.MetadataSchemaModifier.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 GridCoverageRenderingData.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 GridCoverageMultiResolutionCoverageLoader.getOrLoad(int level) Returns the coverage at the given level if it is present in the cache, or loads and caches it otherwise.final GridCoverageMultiResolutionCoverageLoader.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 DefaultFeatureTypeFeatureAnalyzer.buildFeatureType()Completes the creation of the feature type.default DefaultFeatureTypeSchemaModifier.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 voidTable.setDeferredSearchTables(Analyzer analyzer, Map<org.opengis.util.GenericName, Table> tables) Sets the search tables on allRelationinstances for which this operation has been deferred.(package private) final voidRelation.setSearchTable(Analyzer analyzer, Table search, PrimaryKey primaryKey, Relation.Direction direction) Invoked after construction for setting the table identified byTableReference.catalog,TableReference.schemaandTableReference.tablenames. -
Uses of DataStoreException in org.apache.sis.internal.storage
Methods in org.apache.sis.internal.storage that throw DataStoreExceptionModifier and TypeMethodDescriptionfinal voidMetadataBuilder.addDefaultMetadata(AbstractFeatureSet resource, StoreListeners listeners) Adds default metadata for the specified resource.final voidMetadataBuilder.addDefaultMetadata(AbstractGridCoverageResource resource, StoreListeners listeners) Adds default metadata for the specified resource.final voidMetadataBuilder.addDefaultMetadata(AbstractResource resource, StoreListeners listeners) Adds default metadata for the specified resource.final StringWritableResourceSupport.canNotWrite()Returns the message for an exception saying that we cannot write the resource.final ChannelDataOutputWritableResourceSupport.channel(ChannelDataInput input) Returns the writable channel positioned at the beginning of the stream.final voidGridResourceWrapper.closeDataStore()Closes the data store associated to the resource, then discards the resource.voidResourceTransaction.commit()Makes permanent all changes that have been in current transaction.static voidStoreUtilities.copy(FeatureSet source, WritableFeatureSet target) Copies all feature from the given source to the given target.protected abstract GridCoverageResourceGridResourceWrapper.createSource()Creates the resource on which to delegate operations.protected final voidPRJDataStore.deleteAuxiliaryFile(String extension) Deletes the auxiliary file with the given extension if it exists.final AffineTransformWritableResourceSupport.getAffineTransform2D(GridExtent extent, org.opengis.referencing.operation.MathTransform gridToCRS) Returns the "grid to CRS" transform as a two-dimensional affine transform.protected intTiledGridResource.getAtomSize(boolean xdim) Returns the number of sample values in an indivisible element of a tile.protected abstract ColorModelTiledGridResource.getColorModel()Returns the Java2D color model for rendering images, ornullif none.Path[]PRJDataStore.getComponentFiles()Returns the URIDataStore.location as aPathcomponent 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 aPathcomponent or an empty array if none.protected booleanTiledGridResource.getDissociableBands()Returnstrueif the reader can load only the requested bands and skip the other bands, orfalseif 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 NumberTiledGridResource.getFillValue()Returns the value to use for filling empty spaces in rasters, ornullif 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 StringReturns a short label for the given resource.GridResourceWrapper.getLoadingStrategy()Returns an indication about when the "physical" loading of raster data will happen.final RasterLoadingStrategyTiledGridResource.getLoadingStrategy()Returns an indication about when the "physical" loading of raster data will happen.org.opengis.metadata.MetadataGridResourceWrapper.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 SampleModelTiledGridResource.getSampleModel()Returns the Java2D sample model describing pixel type and layout for all bands.static booleanURIDataStore.Provider.isWritable(StorageConnector connector) Returnstrueif the open options containsStandardOpenOption.WRITEor if the storage type is some kind of output stream.protected final Path[]PRJDataStore.listComponentFiles(String... auxiliaries) Returns the URIDataStore.location as aPathcomponent together with auxiliary files.static ObjectReturns 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 GridCoverageTiledGridResource.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.AuxiliaryContentPRJDataStore.readAuxiliaryFile(String extension) Reads the content of the auxiliary file with the specified extension.protected final voidPRJDataStore.readPRJ()Reads the"*.prj"auxiliary file.protected abstract Raster[]TiledGridCoverage.readTiles(TiledGridCoverage.AOI iterator) Returns all tiles in the given area of interest.final booleanWritableResourceSupport.replace(ChannelDataInput input) Returnstrueif the caller should add or replace the resource orfalseif it needs to update an existing resource.voidResourceTransaction.rollback()Undoes all changes made in the current transaction.booleanGridResourceWrapper.setLoadingStrategy(RasterLoadingStrategy strategy) Sets the preferred strategy about when to do the "physical" loading of raster data.final booleanTiledGridResource.setLoadingStrategy(RasterLoadingStrategy strategy) Sets the preferred strategy about when to do the "physical" loading of raster data.protected final GridCoverageResourceGridResourceWrapper.source()Returns the potentially cached source.final GridCoverageWritableResourceSupport.update(GridCoverage coverage) Reads the current coverage in the resource and updates its content with cell values from the given coverage.protected final BufferedWriterPRJDataStore.writeAuxiliaryFile(String extension) Creates a writer for an auxiliary file with the specified extension.protected final voidPRJDataStore.writePRJ()Writes the"*.prj"auxiliary file ifPRJDataStore.crsis non-null.Constructors in org.apache.sis.internal.storage that throw DataStoreExceptionModifierConstructorDescriptionprotectedPRJDataStore(DataStoreProvider provider, StorageConnector connector) Creates a new data store.Subset(GridGeometry domain, int[] range) Creates parameters for the given domain and range.protectedURIDataStore(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 TypeMethodDescriptionvoidStore.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.MetadataStore.getMetadata()Returns the metadata associated to the CSV file, ornullif none.StoreProvider.open(StorageConnector connector) Returns a CSVStoreimplementation associated with this provider.StoreProvider.open(org.opengis.parameter.ParameterValueGroup parameters) Returns a CSVStoreimplementation from the given parameters.private GeneralEnvelopeStore.parseEnvelope(List<String> elements) Parses the envelope described by the header line starting with@stboundedby.private DefaultFeatureTypeStore.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 TypeMethodDescriptionvoidAsciiGridStore.close()Closes this data store and releases any underlying resources.voidRasterStore.close()Closes this data store and releases any underlying resources.voidRawRasterStore.close()Closes this data store and releases any underlying resources.voidWritableStore.close()Closes this data store and releases any underlying resources.(package private) final voidRasterStore.createMetadata(String formatName, String formatKey) Builds metadata and assigns the result to theRasterStore.metadatafield.private static SequenceTypeWritableStore.getAffineCoefficients(Map<String, Object> header, GridGeometry gg, WritableResourceSupport h) Gets the coefficients of the affine transform.Path[]RasterStore.getComponentFiles()Returns the URIDataStore.location as aPathcomponent together with auxiliary files.Path[]RawRasterStore.getComponentFiles()Returns the URIDataStore.location as aPathcomponent 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 StringAsciiGridStore.getHeaderValue(Map<String, String> header, String key) Gets a value from the header map and ensures that it is non-null.org.opengis.metadata.MetadataAsciiGridStore.getMetadata()Returns the metadata associated to the ASII grid file.org.opengis.metadata.MetadataRawRasterStore.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 CharactersViewAsciiGridStore.input()Returns the input if it has not been closed.(package private) final voidRasterStore.loadBandDescriptions(String name, SampleModel sm, Statistics... stats) Loads"*.stx"and"*.clr"files if present then buildsRasterStore.sampleDimensionsandRasterStore.colorModelfrom those information.AsciiGridStoreProvider.open(StorageConnector connector) Returns anAsciiGridStoreimplementation associated with this provider.RawRasterStoreProvider.open(StorageConnector connector) Returns anRawRasterStoreimplementation 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.SUPPORTEDif 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 ColorModelRasterStore.readColorMap(int dataType, int mapSize, int numBands) Reads the"*.clr"auxiliary file.private voidAsciiGridStore.readHeader()Reads the"*.prj"file and the header if not already done.private voidRawRasterStore.readHeader()Reads the"*.hdr"and"*.prj"files.private Statistics[]RasterStore.readStatistics(String name, SampleModel sm) Reads the"*.stx"auxiliary file.voidWritableStore.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.voidStore.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 DataStoreStoreProvider.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.SUPPORTEDif the given storage appears to be a folder.voidRemoves aResourcefrom this store.Constructors in org.apache.sis.internal.storage.folder that throw DataStoreExceptionModifierConstructorDescriptionprivateStore(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 TypeMethodDescriptionvoidWritableStore.add(Iterator<? extends AbstractFeature> features) Appends new feature instances in thisFeatureSet.voidStore.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.MetadataStore.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 GPXStoreimplementation associated with this provider.booleanWritableStore.removeIf(Predicate<? super AbstractFeature> filter) Removes all feature instances from thisFeatureSetwhich matches the given predicate.voidWritableStore.replaceIf(Predicate<? super AbstractFeature> filter, UnaryOperator<AbstractFeature> replacement) Updates all feature instances from thisFeatureSetwhich match the given predicate.voidStore.setVersion(Version version) Sets the version of the file to write.private UpdaterWritableStore.updater()Returns the helper object to use for updating the GPX file.voidWritableStore.updateType(DefaultFeatureType newType) Verifies the type of feature instances in this feature set.voidWritableStore.write(org.opengis.metadata.Metadata metadata, Stream<? extends AbstractFeature> features) Deprecated.voidWriter.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 newResourcein thisAggregate.final voidFormatFinder.close()Closes all unused resources.voidWorldFileStore.close()Closes this data store and releases any underlying resources.voidWritableStore.close()Closes this data store and releases any underlying resources.Collection<? extends GridCoverageResource>WorldFileStore.components()Returns all images in this store.(package private) WorldFileResourceWorldFileStore.createImageResource(int index) Creates aGridCoverageResourcefor the specified image.(package private) WorldFileResourceWritableStore.createImageResource(int index) Creates aGridCoverageResourcefor the specified image.(package private) final ImageReaderFormatFilter.createReader(String identifier, FormatFinder format, Map<ImageReaderSpi, Boolean> deferred) Creates a new reader for the given input.(package private) final ImageWriterFormatFilter.createWriter(String identifier, FormatFinder format, RenderedImage image, Map<ImageWriterSpi, Boolean> deferred) Creates a new writer for the given output.(package private) final voidWorldFileResource.decrementImageIndex()Decrements the image index.(package private) final WorldFileResourceSingleImageStore.delegate()Returns the singleton resource in this aggregate.(package private) final ImageReaderSpiFormatFilter.findProvider(String identifier, StorageConnector connector, Set<ImageReaderSpi> done) Finds a provider for the given input, or returnsnullif 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 GridGeometrySingleImageStore.getGridGeometry()Returns the valid extent of grid coordinates together with the conversion from those grid coordinates to real world coordinates.final GridGeometryWorldFileResource.getGridGeometry()Returns the valid extent of grid coordinates together with the conversion from those grid coordinates to real world coordinates.(package private) final GridGeometryWorldFileStore.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 RasterLoadingStrategySingleImageStore.getLoadingStrategy()Returns an indication about when the "physical" loading of raster data will happen.org.opengis.metadata.MetadataWorldFileStore.getMetadata()Returns information about the data store as a whole.(package private) final ImageReaderFormatFinder.getOrCreateReader()Returns the user-specified reader or searches for a reader that claim to be able to read the storage input.(package private) final ImageWriterFormatFinder.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 intWritableStore.isMultiImages()Returns whether this data store contains more than one image.private static StringReturns a label for the given resource in error messages.WorldFileStoreProvider.open(StorageConnector connector) Returns aWorldFileStoreimplementation 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 GridCoverageSingleImageStore.read(GridGeometry domain, int... ranges) Loads a subset of the image wrapped by this resource.final GridCoverageWorldFileResource.read(GridGeometry domain, int... ranges) Loads a subset of the image wrapped by this resource.(package private) final ImageReaderWorldFileStore.reader()Returns the reader if it has not been closed.private AffineTransform2DWorldFileStore.readWorldFile()Reads the "World file" by searching for an auxiliary file with a suffix inferred from the suffix of the main file.private AffineTransform2DWorldFileStore.readWorldFile(String wld) Reads the "World file" by parsing an auxiliary file with the given suffix.(package private) voidInvoked byWorldFileStore.Componentswhen the caller want to remove a resource.voidRemoves aResourcefrom thisAggregate.(package private) final voidWorldFileStore.Components.removed(int index) Invoked after an image has been removed from the image file.(package private) StringWorldFileStore.setGridGeometry(int index, GridGeometry gg) Sets the store-wide grid geometry when a new coverage is written.(package private) StringWritableStore.setGridGeometry(int index, GridGeometry gg) Sets the store-wide grid geometry.final booleanSingleImageStore.setLoadingStrategy(RasterLoadingStrategy strategy) Sets the preferred strategy about when to do the "physical" loading of raster data.(package private) final WorldFileStoreWorldFileResource.store()Returns the data store.final GridCoverageResourceRequests a subset of the coverage.voidSingleImageStore.Writable.write(GridCoverage coverage, WritableGridCoverageResource.Option... options) Writes a new coverage in the data store for this resource.voidWritableResource.write(GridCoverage coverage, WritableGridCoverageResource.Option... options) Writes a new coverage in the data store for this resource.(package private) final ImageWriterWritableStore.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 ReadableByteChannelChannelFactory.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 WritableByteChannelChannelFactory.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 TypeMethodDescriptionvoidStore.close()Closes this data store and releases any underlying resources.protected PathFirstKeywordPeek.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.MetadataStore.getMetadata()Returns the metadata associated to the parsed objects, ornullif none.StoreProvider.open(StorageConnector connector) Returns aStoreimplementation associated with this provider.private voidStore.parse()Parses the objects, if not already done.final ProbeResultFirstKeywordPeek.probeContent(Path file) ReturnsProbeResult.SUPPORTEDif the content of given file begins with an expected keyword.final ProbeResultFirstKeywordPeek.probeContent(DataStoreProvider provider, StorageConnector connector) ReturnsProbeResult.SUPPORTEDif 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 TypeMethodDescriptionvoidStore.close()Closes this data store and releases any underlying resources.org.opengis.metadata.MetadataStore.getMetadata()Returns the metadata associated to the unmarshalled object, ornullif none.StoreProvider.open(StorageConnector connector) Returns aStoreimplementation 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 ProbeResultMimeTypeDetector.probeContent()Wraps the call toMimeTypeDetector.getMimeType()for catchingIOExceptionand for instantiating theProbeResult.private voidStore.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 TypeMethodDescriptionvoidRewriteOnUpdate.add(Iterator<? extends AbstractFeature> features) Appends new feature instances in theFeatureSet.voidStaxDataStore.close()Closes the input or output stream and releases any resources used by this XML data store.(package private) final XMLStreamWriterStaxDataStore.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.voidRewriteOnUpdate.flush()Writes immediately all feature instances.booleanRewriteOnUpdate.removeIf(Predicate<? super AbstractFeature> filter) Removes all feature instances from theFeatureSetwhich matches the given predicate.voidRewriteOnUpdate.replaceIf(Predicate<? super AbstractFeature> filter, UnaryOperator<AbstractFeature> updater) Updates all feature instances from theFeatureSetwhich match the given predicate.Constructors in org.apache.sis.internal.storage.xml.stream that throw DataStoreExceptionModifierConstructorDescriptionprotectedStaxDataStore(StaxDataStoreProvider provider, StorageConnector connector) Creates a new data store.protectedStaxStreamWriter(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 TypeClassDescriptionclassThrown when an unrecoverable error occurred during the probing of a file.classThrown when an operation cannot be performed while a read operation is in progress.classThrown when an operation cannot be performed while a write operation is in progress.classThrown when a data store is closed and can no more return data.classThrown when a store cannot be read because the stream contains invalid data.classThrown when a data store failed to construct the coordinate reference system (CRS) or other positioning information.classThrown when an operation would require to move the cursor back, but the underlying storage does not allow that.classThrown when a store cannot write the given feature because its type is not one of the supported types.classThrown when an invalid name is used for identifying a coverage, a feature or other kind of element in a data store.classThrown when aDataStorecannot be opened because of invalid parameters.classThrown when a write operation cannot be performed because the resource to write is incompatible with the data store.classThrown when an internal error occurred in aDataStoreimplementation.classThrown when requested data are not found in the data store.classThrown when aDataStorecannot perform a write operation.classThrown when a write operation cannot be performed because it would cause the replacement of an existing resource.classThrown when a storage uses some encoding options not supported by current implementation.classThrown when a resources cannot be filtered with a given query.classThrown when noDataStoreProvideris found for a given storage object.Methods in org.apache.sis.storage that return DataStoreExceptionModifier and TypeMethodDescriptionprotected DataStoreExceptionAbstractGridCoverageResource.canNotRead(String filename, GridGeometry request, Throwable cause) Creates an exception for a failure to load data.Initializes the cause of this throwable to the specified value.Methods in org.apache.sis.storage that throw DataStoreExceptionModifier and TypeMethodDescriptionAdds a newResourcein thisAggregate.voidWritableFeatureSet.add(Iterator<? extends AbstractFeature> features) Inserts new feature instances in thisFeatureSet.private GridGeometryCoverageSubset.clip(GridGeometry domain, GridRoundingMode rounding, GridClippingMode clipping) Clips the given domain to the area of interest specified by the query.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.private ByteBufferStorageConnector.createByteBuffer()private ChannelDataInputStorageConnector.createChannelDataInput(boolean asImageInputStream) Creates a view for the input as aChannelDataInputif possible.private ChannelDataOutputStorageConnector.createChannelDataOutput()Creates a view for the storage as aChannelDataOutputif possible.private DataInputStorageConnector.createDataInput()Creates a view for the input as aDataInputif possible.private DataOutputStorageConnector.createDataOutput()Creates a view for the output as aDataOutputif possible.private ImageInputStreamStorageConnector.createImageInputStream()Creates anImageInputStreamfrom theDataInputif possible.private InputStreamStorageConnector.createInputStream()Creates an input stream fromReadableByteChannelif possible, or fromImageInputStreamotherwise.protected org.opengis.metadata.MetadataAbstractFeatureSet.createMetadata()Invoked in a synchronized block the first time thatgetMetadata()is invoked.protected org.opengis.metadata.MetadataAbstractGridCoverageResource.createMetadata()Invoked in a synchronized block the first time thatgetMetadata()is invoked.protected org.opengis.metadata.MetadataAbstractResource.createMetadata()Invoked in a synchronized block the first time thatAbstractResource.getMetadata()is invoked.protected org.opengis.metadata.MetadataCoverageSubset.createMetadata()Creates metadata about this subset.protected org.opengis.metadata.MetadataFeatureSubset.createMetadata()Creates metadata about this subset.private OutputStreamStorageConnector.createOutputStream()Creates an output stream fromWritableByteChannelif possible, or fromImageOutputStreamotherwise.private ReaderStorageConnector.createReader()Creates a character reader if possible.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.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 ResourceRecursively 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 RasterLoadingStrategyGridCoverageResource.getLoadingStrategy()Returns an indication about when the "physical" loading of raster data will happen.final org.opengis.metadata.MetadataAbstractResource.getMetadata()Returns a description of this resource.abstract org.opengis.metadata.MetadataDataStore.getMetadata()Returns information about the data store as a whole.org.opengis.metadata.MetadataResource.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> 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.FeatureSubset.getType()Returns a description of properties that are common to all features in this dataset.private ProbeProviderPairImplementation ofDataStoreRegistry.probeContentType(Object)andDataStoreRegistry.open(Object).private voidCoverageQuery.namesToIndices(GridCoverageResource source) Converts the sample dimension names to sample dimension indices.abstract DataStoreDataStoreProvider.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 aDataStorefor reading the given storage.static DataStoreCreates aDataStorefor the given storage.(package private) final booleanStorageConnector.prefetch()Transfers more bytes from theDataInputto theByteBuffer, if possible.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.DataStoreRegistry.probeContentType(Object storage) Returns the MIME type of the storage file format, ornullif unknown or not applicable.static StringDataStores.probeContentType(Object storage) Returns the MIME type of the storage file format, ornullif 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.voidRemoves aResourcefrom thisAggregate.booleanWritableFeatureSet.removeIf(Predicate<? super AbstractFeature> filter) Removes all feature instances from thisFeatureSetwhich matches the given predicate.voidWritableFeatureSet.replaceIf(Predicate<? super AbstractFeature> filter, UnaryOperator<AbstractFeature> updater) Updates all feature instances from thisFeatureSetwhich match the given predicate.private voidStorageConnector.reset()Resets the rootStorageConnector.storageobject.private booleanStorageConnector.reset(StorageConnector.Coupled c) Resets the given view.booleanCoverageSubset.setLoadingStrategy(RasterLoadingStrategy strategy) Sets the preferred strategy about when to do the "physical" loading of raster data.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.private <N> ProbeResultDataStoreProvider.tryNextProber(StorageConnector connector, DataStoreProvider.ProberList<?, N> list) Tries theDataStoreProvider.ProberList.nextprobe.private <S> ProbeResultDataStoreProvider.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.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.(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 TypeMethodDescriptionvoidCoverageAggregator.add(GridCoverageResource resource) Adds the given resource.voidCoverageAggregator.addAll(Stream<? extends GridCoverageResource> resources) Adds all grid resources provided by the given stream.voidCoverageAggregator.addComponents(Aggregate resource) Adds all components of the given aggregate.static FeatureSetConcatenatedFeatureSet.create(Collection<? extends FeatureSet> sources) Creates a new feature set as a concatenation of the sequence of features given by thesources.static FeatureSetConcatenatedFeatureSet.create(FeatureSet... sources) Creates a new feature set as a concatenation of the sequence of features given by thesources.protected org.opengis.metadata.MetadataAggregatedFeatureSet.createMetadata()Invoked in a synchronized block the first time thatgetMetadata()is invoked.protected org.opengis.metadata.MetadataConcatenatedGridResource.createMetadata()Creates when first requested the metadata about this resource.protected org.opengis.metadata.MetadataGroupAggregate.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 booleanAggregatedFeatureSet.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 GridCoverageConcatenatedGridCoverage.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.booleanConcatenatedGridResource.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 ImmutableEnvelopeGroupAggregate.unionOfComponents(Resource[] components) Computes the union of envelopes provided by all the given resources.Constructors in org.apache.sis.storage.aggregate that throw DataStoreExceptionModifierConstructorDescriptionprotectedConcatenatedFeatureSet(StoreListeners parent, FeatureSet[] sources) Creates a new feature set as a concatenation of the sequence of features given by thesources.(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 DataStoreExceptionGeoTiffStore.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 booleanDataCube.canReadDirect(TiledGridResource.Subset subset) Returnstrueif the image can be read with theDataSubsetbase class, orfalseif the more sophisticatedCompressedSubsetsub-class is needed.voidGeoTiffStore.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.MetadataImageFileDirectory.createMetadata()Builds the metadata with the information stored in the fields of this IFD.protected GridCoverageResourceMultiResolutionImage.createSource()Creates the resource on which to delegate operations.GeoTiffStore.findResource(String sequence) Returns the image at the given index.(package private) voidImageMetadataBuilder.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 GridCoverageResourceReader.getImage(int index) Returns the potentially pyramided Image File Directories (IFDs) at the given index.private ImageFileDirectoryMultiResolutionImage.getImageFileDirectory(int index) Completes and returns the image at the given pyramid level.private ImageFileDirectoryReader.getImageFileDirectory(int index) Returns the next Image File Directory (IFD), ornullif we reached the last IFD.org.opengis.metadata.MetadataGeoTiffStore.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 voidImageFileDirectory.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 aGeoTiffStoreimplementation associated with this provider.GeoTiffStoreProvider.probeContent(StorageConnector connector) Returns the MIME type if the given storage appears to be supported byGeoTiffStore.final GridCoverageDataCube.read(GridGeometry domain, int... ranges) Creates aGridCoveragewhich 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 ReaderGeoTiffStore.reader()Returns the reader if it is not closed, or thrown an exception otherwise.private voidReader.readNextImageOffset()SetsReader.nextIFDto the next offset read from the TIFF file and makes sure that it will not cause an infinite loop.(package private) RasterCompressedSubset.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) RasterDataSubset.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 longReader.readUnsignedInt()Reads theintorlongvalue (depending if the file is a standard of big TIFF) at the current Reader.input position.private longReader.readUnsignedShort()Reads theshortorlongvalue (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 voidReader.resolveDeferredEntries(ImageFileDirectory dir) Reads all entries that were deferred.private voidReader.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 TypeMethodDescriptionvoidLandsatStore.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.MetadataBandGroup.createMetadata()Invoked in a synchronized block the first time thatAbstractResource.getMetadata()is invoked.protected GridCoverageResourceBand.createSource()Creates the GeoTIFF reader and get the first image from it.protected PathLandsatStoreProvider.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_IDin the Landsat metadata file.org.opengis.metadata.MetadataLandsatStore.getMetadata()Returns information about the dataset as a whole.private voidLandsatStore.loadMetadata()Parses the main Landsat text file.LandsatStoreProvider.open(StorageConnector connector) Returns aLandsatStoreimplementation associated with this provider.private voidMetadataReader.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.SUPPORTEDif the given storage appears to be supported byLandsatStore.(package private) voidMetadataReader.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 TypeMethodDescriptionvoidSQLStore.close()Closes this SQL store and releases any underlying resources.SQLStore.components()Returns the tables (feature sets) in this SQL store.SQLStore.findResource(String identifier) Searches for a resource identified by the given identifier.Optional<org.opengis.util.GenericName>SQLStore.getIdentifier()SQL data store root resource has no identifier.org.opengis.metadata.MetadataSQLStore.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 aSQLStoreimplementation 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.SUPPORTEDif the given storage appears to be supported bySQLStore.Constructors in org.apache.sis.storage.sql that throw DataStoreExceptionModifierConstructorDescriptionSQLStore(SQLStoreProvider provider, StorageConnector connector, ResourceDefinition... resources) Creates a newSQLStorefor the given data source and tables, views or queries. -
Uses of DataStoreException in org.apache.sis.storage.tiling
Methods in org.apache.sis.storage.tiling that throw DataStoreExceptionModifier and TypeMethodDescriptionWritableTileMatrixSet.createTileMatrix(TileMatrix tiles) Adds the given tile matrix to this set and returns a writable instance for later completion.WritableTiledResource.createTileMatrixSet(TileMatrixSet tiles) Adds the given tile matrix set to this resource and returns a writable instance for later completion.voidWritableTileMatrixSet.deleteTileMatrix(String identifier) Deletes aTileMatrixidentified by the given name.voidWritableTiledResource.deleteTileMatrixSet(String identifier) Deletes aTileMatrixSetidentified by the given name.longWritableTileMatrix.deleteTiles(GridExtent indicesRanges) Deletes all existing tiles in the given region.Tile.getResource()Returns the tile content as a resource.TileMatrix.getTile(long... indices) Gets a tile at the given indices.Collection<? extends TileMatrixSet>TiledResource.getTileMatrixSets()Returns the collection of all available tile matrix sets in this resource.Collection<? extends WritableTileMatrixSet>WritableTiledResource.getTileMatrixSets()Returns the collection of all available tile matrix sets in this resource.TileMatrix.getTiles(GridExtent indicesRanges, boolean parallel) Retrieves a stream of existing tiles in the specified region.TileMatrix.getTileStatus(long... indices) Fetches information about whether a tile exists, is missing or failed to load.voidWritableTileMatrix.writeTiles(Stream<Tile> tiles) Writes a stream of tiles.
WritableStore.add(Iterator), after we resolved how to specify metadata.