A feature table stored in a Geodatabase. More...
Header: | #include <GeodatabaseFeatureTable.h> |
Since: | Esri::ArcGISRuntime 100.0 |
Inherits: | Esri::ArcGISRuntime::ArcGISFeatureTable |
Public Functions
GeodatabaseFeatureTable(Esri::ArcGISRuntime::GeodatabaseFeatureTable *table, const Esri::ArcGISRuntime::RelationshipInfo &relationshipInfo, QObject *parent = nullptr) | |
virtual | ~GeodatabaseFeatureTable() override |
Esri::ArcGISRuntime::Geodatabase * | geodatabase() const |
bool | hasLocalEditsSince(const QDateTime &date) const |
Detailed Description
For mobile geodatabases created by ArcGIS Pro, renderer information isn't stored in the geodatabase. A default renderer is therefore used to display mobile geodatabase feature tables in a feature layer. In most cases, this default should be replaced with a custom renderer.
You can get a list of geodatabase feature tables in a Geodatabase using Geodatabase::geodatabaseFeatureTables() or use one of the helper methods for getting the feature table by its table name or feature service layer ID.
The table can be spatial or non-spatial. If it has geometry, a FeatureLayer can be constructed with GeodatabaseFeatureTable instance and then added to a map. If the table has relationships, you can get related tables and query for related features and edit them.
Relevant samples:
- Add features with contingent values: Create and add features whose attribute values satisfy a predefined set of contingencies.
- Create mobile geodatabase: Create and share a mobile geodatabase.
- Display feature layers: Display feature layers from various data sources.
- Feature layer (dictionary renderer): Convert features into graphics to show them with mil2525d symbols.
See also Geodatabase and FeatureLayer.
Member Function Documentation
[since Esri::ArcGISRuntime 100.1]
GeodatabaseFeatureTable::GeodatabaseFeatureTable (Esri::ArcGISRuntime::GeodatabaseFeatureTable *table, const Esri::ArcGISRuntime::RelationshipInfo &relationshipInfo , QObject *parent = nullptr)
Constructs a new GeodatabaseFeatureTable from an exising GeodatabaseFeatureTable and a given RelationshipInfo.
- table - The table related to the GeodatabaseFeatureTable.
- relationshipInfo - Information about the relationship between the table and this GeodatabaseFeatureTable.
- parent - The parent object (optional).
This function was introduced in Esri::ArcGISRuntime 100.1.
[override virtual]
GeodatabaseFeatureTable::~GeodatabaseFeatureTable ()
Destructor.
Esri::ArcGISRuntime::Geodatabase *GeodatabaseFeatureTable::geodatabase() const
Returns the geodatabase this feature table comes from.
bool GeodatabaseFeatureTable::hasLocalEditsSince (const QDateTime &date) const
Returns true
if the table has any local edits from a certain date and time.