Class GenerateGeodatabaseJob
- All Implemented Interfaces:
JsonSerializable
,RemoteResource
A GenerateGeodatabaseJob instance is returned by
GeodatabaseSyncTask.generateGeodatabase(GenerateGeodatabaseParameters, String)
. The Job is returned in a
Job.Status.NOT_STARTED
state and Job.start()
must be called to start the associated operation.
See the Job
class for full information on how to work with jobs.
- Since:
- 100.0.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.esri.arcgisruntime.concurrent.Job
Job.Message, Job.MessageSeverity, Job.MessageSource, Job.Status
-
Field Summary
Fields inherited from class com.esri.arcgisruntime.concurrent.Job
mCredential, mRequestConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionFor a successfully completed job, the result returns the local geodatabase.Methods inherited from class com.esri.arcgisruntime.concurrent.Job
addJobDoneListener, addJobMessageAddedListener, addProgressChangedListener, addStatusChangedListener, cancelAsync, fromJson, getCredential, getError, getMessages, getProgress, getRequestConfiguration, getServerJobId, getStatus, getUnknownJson, getUnsupportedJson, getUri, pause, removeJobDoneListener, removeJobMessageAddedListener, removeProgressChangedListener, removeStatusChangedListener, setCredential, setRequestConfiguration, start, toJson
-
Method Details
-
getResult
For a successfully completed job, the result returns the local geodatabase.If the job is in progress, then a null result is returned until the job successfully completes. The returned geodatabase is in a not loaded state; use
Geodatabase.loadAsync()
to load it.A geodatabase downloaded in this way can contain features, annotation and dimensions that are accessed with the list returned by
Geodatabase.getGeodatabaseFeatureTables()
,Geodatabase.getGeodatabaseAnnotationTables()
, and Geodatabase.getGeodatabaseDimensionTables() collections, respectively.
-