Sublayer source that is a layer/table defined by a SQL query. More...
| Header | #include <Table |
| Since | Esri |
| Inherits | Esri |
This class was introduced in Esri::ArcGISRuntime 100.1.
Public Functions
| Table | |
| virtual | ~ |
| Esri | geometry |
| QString | object |
| void | set |
| void | set |
| Esri | spatial |
| QString | sql |
| QString | workspace |
Detailed Description
Member Function Documentation
TableQuerySublayerSource::TableQuerySublayerSource (const QString &workspaceId , const QString &sqlQuery , const QStringList &objectIdFieldNames , QObject *parent = nullptr)
Constructor that accepts arguments that define the query.
- workspaceId - The workspace ID.
- sqlQuery - The SQL query.
- objectIdFieldNames - The list of ObjectID field names.
- parent - The parent object (optional, defaults to nullptr).
[override virtual] TableQuerySublayerSource::~TableQuerySublayerSource ()
Destructor.
Esri::ArcGISRuntime::GeometryType TableQuerySublayerSource::geometryType () const
Returns the geometry type.
See also setGeometryType().
QStringList TableQuerySublayerSource::objectIdFieldNames () const
Returns the list of ObjectID field names.
void TableQuerySublayerSource::setGeometryType (Esri::ArcGISRuntime::GeometryType geometryType )
Sets the geometry type to geometryType.
See also geometryType().
void TableQuerySublayerSource::setSpatialReference (const Esri::ArcGISRuntime::SpatialReference &spatialReference )
Sets the spatial reference to spatialReference.
See also spatialReference().
Esri::ArcGISRuntime::SpatialReference TableQuerySublayerSource::spatialReference () const
Returns the spatial reference.
See also setSpatialReference().
QString TableQuerySublayerSource::sqlQuery () const
Returns the SQL query.
QString TableQuerySublayerSource::workspaceId () const
Returns the workspace ID.