GeodatabaseDeltaInfo Class

  • GeodatabaseDeltaInfo
  • class Esri::ArcGISRuntime::GeodatabaseDeltaInfo

    Represents the delta files created to synchronize changes to a Geodatabase. More...

    Header: #include <GeodatabaseDeltaInfo.h>
    Since: Esri::ArcGISRuntime 100.10
    Inherits: Esri::ArcGISRuntime::Object

    This class was introduced in Esri::ArcGISRuntime 100.10.

    Public Functions

    virtual ~GeodatabaseDeltaInfo() override
    QString downloadDeltaPath() const
    QUrl featureServiceUrl() const
    QString geodatabasePath() const
    QString uploadDeltaPath() const

    Detailed Description

    A delta geodatabase is a file that contains the changes that have occurred since a mobile replica Geodatabase was last synchronized with its feature service. See https://developers.arcgis.com/rest/services-reference/enterprise/synchronize-replica.htm for an overview of the delta files used in synchronization. There are two types of delta geodatabase:

    • Local edits, performed on the user's device, are exported as an "upload" delta delta that is applied to the originating feature service.
    • Online edits, performed by other users are requested as a "download" delta which is then applied to the local replica geodatabase.

    Delta geodatabases allow you to troubleshoot sync problems. For example, you can inspect the geodatabase changes or you could send the file to the administrator of the feature service.

    To access the GeodatabaseDeltaInfo after a sync has completed, set one of the following properties to true:

    Member Function Documentation

    [override virtual] GeodatabaseDeltaInfo::~GeodatabaseDeltaInfo()

    Destructor.

    QString GeodatabaseDeltaInfo::downloadDeltaPath() const

    Returns the full file path of the downloaded delta file, including the file name and extension.

    This property is the full path to the download delta geodatabase downloaded from the server during a bidirectional or download sync. The file will be saved to the user's temp directory and will be subject to the system's policy for cleanup of temporary files. This property will be empty if there were no server changes to download or the sync direction is SyncDirection::Upload.

    QUrl GeodatabaseDeltaInfo::featureServiceUrl() const

    Returns the feature service that is used to sync changes to the geodatabase specified by geodatabasePath.

    QString GeodatabaseDeltaInfo::geodatabasePath() const

    Returns the file path to the Geodatabase that is used to sync changes, including the file name and extension.

    The path refers to a .geodatabase file that is used to sync changes to the service specified by featureServiceUrl. Each sync process can create an "upload" delta file (uploadDeltaPath) and/or a "download" delta file (downloadDeltaPath).

    QString GeodatabaseDeltaInfo::uploadDeltaPath() const

    Returns the full file path of the generated upload delta file, including the file name and extension.

    This property is the full path to the upload delta geodatabase created from the local Geodatabase during a bidirectional or upload sync. The file will be saved to the user's temp directory and will be subject to the system's policy for cleanup of temporary files. This property will be an empty string if there were no changes to upload or the sync direction is SyncDirection::Download only.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.