Obsolete Members for Geodatabase

  • Geodatabase
  • The following members of class Geodatabase are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.

    Public Functions

    (deprecated) Esri::ArcGISRuntime::TaskWatcher createDomain(Esri::ArcGISRuntime::DomainDescription *domainDescription)
    (deprecated) Esri::ArcGISRuntime::TaskWatcher createTable(Esri::ArcGISRuntime::TableDescription *tableDescription)
    (deprecated) Esri::ArcGISRuntime::TaskWatcher deleteDomain(const QString &domainName)
    (deprecated) Esri::ArcGISRuntime::TaskWatcher deleteTable(const QString &tableName)

    Signals

    (deprecated) void createCompleted(const QUuid &taskId, Esri::ArcGISRuntime::Geodatabase *geodatabaseResult)
    (deprecated) void createDomainCompleted(const QUuid &taskId, const Esri::ArcGISRuntime::Domain &domain)
    (deprecated) void createTableCompleted(const QUuid &taskId, Esri::ArcGISRuntime::GeodatabaseFeatureTable *geodatabaseFeatureTableResult)
    (deprecated) void deleteDomainCompleted(const QUuid &taskId)
    (deprecated) void deleteTableCompleted(const QUuid &taskId)

    Static Public Members

    (deprecated) Esri::ArcGISRuntime::TaskWatcher create(const QString &path)
    (deprecated) Esri::ArcGISRuntime::Geodatabase *instance()

    Member Function Documentation

    [static, since Esri::ArcGISRuntime 100.14] Esri::ArcGISRuntime::TaskWatcher Geodatabase::create(const QString &path)

    This function is deprecated. We strongly advise against using it in new code.

    Returns an empty mobile geodatabase at the specified path.

    • path - The path at which the mobile geodatabase should be created.

    The path must be non-empty, available, allow read/write access, and end in ".geodatabase". If any of these restrictions are violated, the task will not succeed and a task error will be set. This method returns a TaskWatcher for the asynchronous operation.

    This function was introduced in Esri::ArcGISRuntime 100.14.

    [signal, since Esri::ArcGISRuntime 100.14] void Geodatabase::createCompleted(const QUuid &taskId, Esri::ArcGISRuntime::Geodatabase *geodatabaseResult)

    This function is deprecated. We strongly advise against using it in new code.

    Signal emitted when the createAsync(QString, QObject*) operation completes.

    • taskId - The task ID of the asynchronous operation.
    • geodatabaseResult - The geodatabase created.

    This function was introduced in Esri::ArcGISRuntime 100.14.

    See also Returned QObjects Parenting.

    [since Esri::ArcGISRuntime 100.14] Esri::ArcGISRuntime::TaskWatcher Geodatabase::createDomain(Esri::ArcGISRuntime::DomainDescription *domainDescription)

    This function is deprecated. We strongly advise against using it in new code.

    Returns a new domain in the geodatabase.

    • domainDescription - The description of the domain to create.

    Creating domains is only supported in mobile geodatabases (either created in Pro or via createAsync(QString, QObject*)). The domain name must not already exist in the geodatabase.

    This method returns a TaskWatcher for the asynchronous operation.

    This function was introduced in Esri::ArcGISRuntime 100.14.

    [signal, since Esri::ArcGISRuntime 100.14] void Geodatabase::createDomainCompleted(const QUuid &taskId, const Esri::ArcGISRuntime::Domain &domain)

    This function is deprecated. We strongly advise against using it in new code.

    Signal emitted when the createDomain(DomainDescription*) operation completes.

    • taskId - The task ID of the asynchronous operation.
    • domain - The newly created domain.

    This function was introduced in Esri::ArcGISRuntime 100.14.

    [since Esri::ArcGISRuntime 100.14] Esri::ArcGISRuntime::TaskWatcher Geodatabase::createTable(Esri::ArcGISRuntime::TableDescription *tableDescription)

    This function is deprecated. We strongly advise against using it in new code.

    Returns a new table in the geodatabase.

    • tableDescription - The description of the table to create.

    Creating tables is only supported in mobile geodatabases (either created in Pro or via createAsync(QString, QObject*)). The table name must not already exist in the geodatabase. For additional table name constraints, see TableDescription::tableName.

    This function was introduced in Esri::ArcGISRuntime 100.14.

    [signal, since Esri::ArcGISRuntime 100.14] void Geodatabase::createTableCompleted(const QUuid &taskId, Esri::ArcGISRuntime::GeodatabaseFeatureTable *geodatabaseFeatureTableResult)

    This function is deprecated. We strongly advise against using it in new code.

    Signal emitted when the createTable(TableDescription) operation completes.

    • taskId - The task ID of the asynchronous operation.
    • geodatabaseFeatureTableResult - The geodatabase feature table created.

    This function was introduced in Esri::ArcGISRuntime 100.14.

    See also Returned QObjects Parenting.

    [since Esri::ArcGISRuntime 100.14] Esri::ArcGISRuntime::TaskWatcher Geodatabase::deleteDomain(const QString &domainName)

    This function is deprecated. We strongly advise against using it in new code.

    Deletes the domain with the specified name from the geodatabase.

    • domainName - The name of the domain to delete.

    Deleting domains is only supported in mobile geodatabases (either created in Pro or via createAsync(QString, QObject*)). The domain with the specified name must exist in the geodatabase. The domain must not be in use by any fields in existing tables.

    This method returns a TaskWatcher for the asynchronous operation.

    This function was introduced in Esri::ArcGISRuntime 100.14.

    [signal, since Esri::ArcGISRuntime 100.14] void Geodatabase::deleteDomainCompleted(const QUuid &taskId)

    This function is deprecated. We strongly advise against using it in new code.

    Signal emitted when the deleteDomain(QString) operation completes.

    • taskId - The task ID of the asynchronous operation.

    This function was introduced in Esri::ArcGISRuntime 100.14.

    [since Esri::ArcGISRuntime 100.14] Esri::ArcGISRuntime::TaskWatcher Geodatabase::deleteTable(const QString &tableName)

    This function is deprecated. We strongly advise against using it in new code.

    Deletes an existing table from the geodatabase.

    • tableName - The name of the table to delete.

    Deleting tables is only supported in mobile geodatabases created in ArcGIS Pro or using createAsync(QString, QObject*). Attempting further use of a deleted table, such as rendering it in a feature layer or querying it, may result in errors.

    This method returns a TaskWatcher for the asynchronous operation.

    This function was introduced in Esri::ArcGISRuntime 100.14.

    [signal, since Esri::ArcGISRuntime 100.14] void Geodatabase::deleteTableCompleted(const QUuid &taskId)

    This function is deprecated. We strongly advise against using it in new code.

    Signal emitted when the deleteTable(QString) operation completes.

    • taskId - The task ID of the asynchronous operation.

    This function was introduced in Esri::ArcGISRuntime 100.14.

    [static, since Esri::ArcGISRuntime 100.14] Esri::ArcGISRuntime::Geodatabase *Geodatabase::instance()

    This function is deprecated. We strongly advise against using it in new code.

    Returns an instance of the Geodatabase singleton.

    The instance is used to connect to the Object::errorOccurred, and createCompleted signal. You do not need to obtain the instance to call the static methods on the Geodatabase.

    This function was introduced in Esri::ArcGISRuntime 100.14.

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