destinationTableRowFilter property
Indicates whether tables will contain all rows or can be filtered to a smaller set of related rows.
When the property is DestinationTableRowFilter.relatedOnly (the default) this can substantially reduce the number of rows in offline tables to only those that are related to rows from other layers or tables. Only tables present in GeoModel.tables are considered as candidates for filtering.
This does not apply when the table:
- Is the origin of a relationship and not a destination
- Is a destination of a relationship from a layer or table that is not in the map
- Is editable and GenerateOfflineMapParameters.returnSchemaOnlyForEditableLayers is true
- Has a ServiceFeatureTable.definitionExpression and GenerateOfflineMapParameters.isDefinitionExpressionFilterEnabled is true
The relationships of a table are accessible via ArcGISFeatureTable.layerInfo and the ArcGISFeatureLayerInfo.relationshipInfos property.
The default value is DestinationTableRowFilter.relatedOnly.
If set to DestinationTableRowFilter.all then all rows in tables are returned.
Implementation
DestinationTableRowFilter get destinationTableRowFilter {
final coreValue = _withThrowingErrorHandler((errorHandler) {
return runtimecore
.RT_GenerateOfflineMapParameters_getDestinationTableRowFilter(
_handle, errorHandler);
});
return DestinationTableRowFilter._fromCoreValue(coreValue);
}
Implementation
set destinationTableRowFilter(DestinationTableRowFilter value) {
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_GenerateOfflineMapParameters_setDestinationTableRowFilter(
_handle, value.coreValue, errorHandler);
});
}