|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDrLoader
Provides access to members that controls a distributed raster catalog loader.
Then IDrLoader interface provides the functionality to load raster datasets to a raster catalog in an ArcGIS server environment. The storage parameters can be specified while loading, and the settings apply to all rasters in the raster catalog.
ServerName specifies the ArcGIS server name.
Load method launches the loader process for loading a directory of rasters to the given raster catalog.
LoadDatasets launches the loader process for loading a list of raster datasets to the given raster catalog.
The storage parameters can be specified in RasterCatalogLoader.
Method Summary | |
---|---|
void |
cancel()
Cancels loading. |
String |
getInvalidDatasets()
The current list of semicolon delimited failed dataset names. |
IErrorInfo |
getLastError()
The last loading error. |
IRasterCatalogLoader |
getRasterCatalogLoader()
The raster catalog loader to be distributed. |
String |
getServerName()
The ArcGIS server name to host loaders. |
void |
getStats(String[] pName,
double[] pMillis)
Gets the current loading stats. |
int |
getThreadHandle()
Gets the loading thread handle. |
boolean |
isBusy()
Indicates if the loader is currently busy. |
void |
load(String catalog,
String directory)
Loads all datasets in a directory into a given raster catalog. |
void |
loadDatasets(String catalog,
String namelist)
Loads all datasets in a name list into a given raster catalog. |
void |
setRasterCatalogLoaderByRef(IRasterCatalogLoader ppLoader)
The raster catalog loader to be distributed. |
void |
setServerName(String pServerName)
The ArcGIS server name to host loaders. |
Method Detail |
---|
String getServerName() throws IOException, AutomationException
ServerName is the name of the ArcGIS server machine that hosts the loaders.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setServerName(String pServerName) throws IOException, AutomationException
Set the ArcGIS server machine name.
pServerName
- The pServerName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IRasterCatalogLoader getRasterCatalogLoader() throws IOException, AutomationException
The RasterCatalogLoader to be distributed among the available ArcGIS containers. The storage parameters can be specified for the loader to instruct how the data will be stored in the geodatabase, also whether the data will be transformed or projected can be set.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRasterCatalogLoaderByRef(IRasterCatalogLoader ppLoader) throws IOException, AutomationException
ppLoader
- A reference to a com.esri.arcgis.datasourcesraster.IRasterCatalogLoader (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getInvalidDatasets() throws IOException, AutomationException
Get the list of the raster dataset names that failed to load to the raster catalog. The list is delimited by new line.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isBusy() throws IOException, AutomationException
Get the status of the loader, whether it is in use or not.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IErrorInfo getLastError() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void load(String catalog, String directory) throws IOException, AutomationException
Perform the loading of raster datasets to the raster catalog.
catalog
- The catalog (in)directory
- The directory (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void loadDatasets(String catalog, String namelist) throws IOException, AutomationException
Load a list of raster datasets to the raster catalog, the list contains raster dataset with full pathname and it is delimited by newline.
catalog
- The catalog (in)namelist
- The namelist (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void cancel() throws IOException, AutomationException
Cancel the loading operation.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getStats(String[] pName, double[] pMillis) throws IOException, AutomationException
Get the status of the loading performance, with the raster dataset name and time used to load it to the raster catalog.
pName
- The pName (out: use single element array)pMillis
- The pMillis (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getThreadHandle() throws IOException, AutomationException
Get the handle of the loader.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |