GenerateGeodatabaseParameters Class
The parameters to sync data of a sync-enabled geodatabase. More...
Header: | #include <GenerateGeodatabaseParameters> |
Since: | Esri::ArcGISRuntime 100.0 |
This class was introduced in Esri::ArcGISRuntime 100.0.
Public Functions
GenerateGeodatabaseParameters(Esri::ArcGISRuntime::GenerateGeodatabaseParameters &&other) | |
GenerateGeodatabaseParameters(const Esri::ArcGISRuntime::GenerateGeodatabaseParameters &other) | |
GenerateGeodatabaseParameters() | |
Esri::ArcGISRuntime::GenerateGeodatabaseParameters & | operator=(Esri::ArcGISRuntime::GenerateGeodatabaseParameters &&other) |
Esri::ArcGISRuntime::GenerateGeodatabaseParameters & | operator=(const Esri::ArcGISRuntime::GenerateGeodatabaseParameters &other) |
~GenerateGeodatabaseParameters() | |
Esri::ArcGISRuntime::AttachmentSyncDirection | attachmentSyncDirection() const |
Esri::ArcGISRuntime::Geometry | extent() const |
bool | isEmpty() const |
bool | isReturnAttachments() const |
QList<Esri::ArcGISRuntime::GenerateLayerOption> | layerOptions() const |
Esri::ArcGISRuntime::SpatialReference | outSpatialReference() const |
void | setAttachmentSyncDirection(Esri::ArcGISRuntime::AttachmentSyncDirection attachmentSyncDirection) |
void | setExtent(const Esri::ArcGISRuntime::Geometry &extent) |
void | setLayerOptions(const QList<Esri::ArcGISRuntime::GenerateLayerOption> &generateLayerOptions) |
void | setOutSpatialReference(const Esri::ArcGISRuntime::SpatialReference &outSpatialReference) |
void | setReturnAttachments(bool returnAttachments) |
void | setSyncModel(Esri::ArcGISRuntime::SyncModel syncModel) |
Esri::ArcGISRuntime::SyncModel | syncModel() const |
Detailed Description
GenerateGeodatabaseParameters is used with GeodatabaseSyncTask::generateGeodatabase to generate sync-enabled geodatabases from supporting ArcGIS Feature services.
Note: Rather than constructing one of these directly, consider using the convenience method GeodatabaseSyncTask::createDefaultGenerateGeodatabaseParameters. It will create a GenerateGeodatabaseParameters object initialized with appropriate parameters based on the supported capabilities and data of the ArcGIS Feature Service.
Member Function Documentation
GenerateGeodatabaseParameters::GenerateGeodatabaseParameters(Esri::ArcGISRuntime::GenerateGeodatabaseParameters &&other)
Move constructor from other GenerateGeodatabaseParameters.
GenerateGeodatabaseParameters::GenerateGeodatabaseParameters(const Esri::ArcGISRuntime::GenerateGeodatabaseParameters &other)
Copy constructor from other GenerateGeodatabaseParameters.
GenerateGeodatabaseParameters::GenerateGeodatabaseParameters()
Default constructor.
Esri::ArcGISRuntime::GenerateGeodatabaseParameters &GenerateGeodatabaseParameters::operator=(Esri::ArcGISRuntime::GenerateGeodatabaseParameters &&other)
Move operator from other GenerateGeodatabaseParameters.
Esri::ArcGISRuntime::GenerateGeodatabaseParameters &GenerateGeodatabaseParameters::operator=(const Esri::ArcGISRuntime::GenerateGeodatabaseParameters &other)
Assignment operator from other GenerateGeodatabaseParameters.
GenerateGeodatabaseParameters::~GenerateGeodatabaseParameters()
Destructor.
Esri::ArcGISRuntime::AttachmentSyncDirection GenerateGeodatabaseParameters::attachmentSyncDirection() const
Returns the attachment sync direction.
See also setAttachmentSyncDirection().
Esri::ArcGISRuntime::Geometry GenerateGeodatabaseParameters::extent() const
Returns the geographic extent within which features will be included in the sync-enabled geodatabase.
To include non-spatial records, you must set up the LayerOptions for that layer to include a GenerateLayerOption::whereClause and set GenerateLayerOption::useGeometry to false
.
See also setExtent().
bool GenerateGeodatabaseParameters::isEmpty() const
Returns whether this GenerateGeodatabaseParameters is empty.
bool GenerateGeodatabaseParameters::isReturnAttachments() const
Returns whether the sync-enabled geodatabase should contain attachments for the features that are included.
QList<Esri::ArcGISRuntime::GenerateLayerOption> GenerateGeodatabaseParameters::layerOptions() const
Returns the options specifiying how to filter features from individual layers for inclusion into the geodatabase.
See also setLayerOptions().
Esri::ArcGISRuntime::SpatialReference GenerateGeodatabaseParameters::outSpatialReference() const
Returns the spatial reference in which you would like the generated geodatabase.
See also setOutSpatialReference().
void GenerateGeodatabaseParameters::setAttachmentSyncDirection(Esri::ArcGISRuntime::AttachmentSyncDirection attachmentSyncDirection)
Sets the attachment sync direction.
- attachmentSyncDirection - The directions to sync attachments.
This property specifies how the geodatabase should be configured to sync attachment data with its originating service.
See also attachmentSyncDirection().
void GenerateGeodatabaseParameters::setExtent(const Esri::ArcGISRuntime::Geometry &extent)
Sets the geographic extent of features to include in the geodatabase.
- extent - The geographic extent.
See also extent().
void GenerateGeodatabaseParameters::setLayerOptions(const QList<Esri::ArcGISRuntime::GenerateLayerOption> &generateLayerOptions)
Sets the options specifiying how to filter features from individual layers for inclusion into the geodatabase.
- generateLayerOptions - The options specifiying how to filter features.
If not specified, all features within the extent are included. For non-spatial records, set GenerateLayerOption::useGeometry to false
and provide a GenerateLayerOption::whereClause.
See also layerOptions().
void GenerateGeodatabaseParameters::setOutSpatialReference(const Esri::ArcGISRuntime::SpatialReference &outSpatialReference)
Sets the spatial reference for the generated geodatabase.
- outSpatialReference - The output spatial reference.
If the data on the server is not in this spatial reference, it will be reprojected before being included in the geodatabase.
See also outSpatialReference().
void GenerateGeodatabaseParameters::setReturnAttachments(bool returnAttachments)
Sets whether the sync-enabled geodatabase should contain attachments for the features that are included.
- returnAttachments - Whether to include attachments.
This property only applies if the feature service supports attachments.
See also isReturnAttachments().
void GenerateGeodatabaseParameters::setSyncModel(Esri::ArcGISRuntime::SyncModel syncModel)
Sets the SyncModel.
- syncModel - The sync model.
This property specifies whether the geodatabase should be configured to sync with the service as a whole (SyncModel::Geodatabase) or by individual layer or table (SyncModel::Layer).
See also syncModel().
Esri::ArcGISRuntime::SyncModel GenerateGeodatabaseParameters::syncModel() const
Returns the SyncModel.
See also setSyncModel().