public class GatherCoverageMetadataCommand extends Command<RasterDatasetInfo>
RasterDatasetInfo
Constructor and Description |
---|
GatherCoverageMetadataCommand(String rasterTableName,
boolean statisticsMandatory) |
Modifier and Type | Method and Description |
---|---|
RasterDatasetInfo |
execute(ISession session,
SeConnection connection)
Executed to operate on an SeConnection, a Command is scheduled for execution on a Session.
|
public GatherCoverageMetadataCommand(String rasterTableName, boolean statisticsMandatory)
public RasterDatasetInfo execute(ISession session, SeConnection connection) throws SeException, IOException
Command
Please keep in mind that a Command should be short in duration; you are sharing this SeConnection with other threads.
execute
in class Command<RasterDatasetInfo>
session
- the Session the command is being executed insideconnection
- the session's connection, used to interact with ArcSDEIOException
- if an exception occurs accessing the raster metadataSeException
IllegalArgumentException
- if the raster has no CRS, contains no raster attributes, has
no pyramids, no bands or no statisticsCopyright © 1996–2019 Geotools. All rights reserved.