Interface StructuredGridCoverage2DReader

    • Method Detail

      • isReadOnly

        boolean isReadOnly()
        Return whether this reader can modify the granule source
      • delete

        void delete​(boolean deleteData)
             throws IOException
        delete all stuff (database content, indexer files, property files, associated auxiliary files and so on).
        Parameters:
        deleteData - specifies whether data (granules) should be deleted too.
        Throws:
        IOException
      • harvest

        List<HarvestedSource> harvest​(String defaultTargetCoverage,
                                      Object source,
                                      Hints hints)
                               throws IOException,
                                      UnsupportedOperationException
        Harvests the specified source into the reader. Depending on the implementation, the original source is harvested in place (e.g., image mosaic), or might be copied into the reader persistent storage (e.g., database raster handling)
        Parameters:
        defaultTargetCoverage - Default target coverage, to be used in case the sources being harvested are not structured ones. The parameter is optional, in case it's missing the reader will use the first coverage as the default target.
        source - The source can be any kind of object, it's up to the reader implementation to understand and use it. Commons source types could be a single file, or a folder.
        hints - Used to provide implementation specific hints on how to harvest the sources
        Throws:
        IOException
        UnsupportedOperationException
      • getDimensionDescriptors

        List<DimensionDescriptor> getDimensionDescriptors​(String coverageName)
                                                   throws IOException
        Describes the dimensions supported by the specified coverage, if any. (coverageName might be null, if there is only one supported coverage)
        Throws:
        IOException