- All Implemented Interfaces:
Loadable
,PopupSource
FeatureTable.hasGeometry()
is false.
A FeatureLayer
can be constructed using
a GeodatabaseFeatureTable
and added to a map and mapview for viewing. Features from the
feature table will be re-projected on the fly if they are not in the same spatial reference
as the map.
Get a list of GeodatabaseFeatureTable
from a Geodatabase
by using
Geodatabase.getGeodatabaseFeatureTables()
, or use one of the helper
methods for getting a specific GeodatabaseFeatureTable
by table name or by
feature service layer ID.
If the Geodatabase
was created from the result of a GeodatabaseSyncTask
,
GeodatabaseFeatureTable
s may be editable and syncable with the associated
feature service, this can be determined by checking
FeatureTable.isEditable()
and Geodatabase.isSyncEnabled()
respectively.
The parent class definition allows GeodatabaseFeatureTable
to also have FeatureTemplate
s,
FeatureType
s, and support editing capabilities defined in ArcGISFeatureLayerInfo.getCapabilities()
.
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.
- Since:
- 100.0.0
-
Property Summary
Properties inherited from class com.esri.arcgisruntime.data.FeatureTable
loadError, loadStatus
-
Constructor Summary
ConstructorDescriptionGeodatabaseFeatureTable
(GeodatabaseFeatureTable table, RelationshipInfo relationshipInfo) Creates a GeodatabaseFeatureTable instance that relates to the given table based on the given relationship info. -
Method Summary
Modifier and TypeMethodDescriptionGets the geodatabase that this table belongs to.boolean
hasLocalEditsSince
(Calendar calendar) Indicates if the geodatabase feature table has local edits since a specific date.Methods inherited from class com.esri.arcgisruntime.data.ArcGISFeatureTable
createFeature, createFeature, createFeature, createFeature, createFeature, createFeature, getAddedFeaturesAsync, getAddedFeaturesCountAsync, getContingentValues, getContingentValuesDefinition, getDefaultSubtypeCode, getDeletedFeaturesAsync, getDeletedFeaturesCountAsync, getEditableAttributeFields, getFeatureSubtypes, getFeatureTemplate, getFeatureTemplates, getFeatureType, getFeatureTypes, getGlobalIdField, getLayerInfo, getLocalEditsAsync, getLocalEditsCountAsync, getObjectIdField, getRelatedTables, getRelatedTables, getServiceLayerId, getSubtypeField, getTypeIdField, getUnknownJson, getUnsupportedJson, getUpdatedFeaturesAsync, getUpdatedFeaturesCountAsync, getUsername, hasAttachments, hasLocalEdits, isUseAdvancedSymbology, queryRelatedFeatureCountAsync, queryRelatedFeatureCountAsync, queryRelatedFeaturesAsync, queryRelatedFeaturesAsync, setUseAdvancedSymbology, validateContingencyConstraints, validateRelationshipConstraintsAsync
Methods inherited from class com.esri.arcgisruntime.data.FeatureTable
addDoneLoadingListener, addFeatureAsync, addFeaturesAsync, addLoadStatusChangedListener, canAdd, cancelLoad, canDelete, canEditGeometry, canUpdate, createFeature, createFeature, deleteFeatureAsync, deleteFeaturesAsync, getDisplayName, getExtent, getField, getFields, getGeometryType, getLayer, getLoadError, getLoadStatus, getPopupDefinition, getSpatialReference, getTableName, getTotalFeatureCount, hasGeometry, hasM, hasZ, isEditable, isPopupEnabled, loadAsync, loadErrorProperty, loadStatusProperty, queryExtentAsync, queryFeatureCountAsync, queryFeaturesAsync, queryStatisticsAsync, removeDoneLoadingListener, removeLoadStatusChangedListener, retryLoadAsync, setDisplayName, setPopupDefinition, setPopupEnabled, updateFeatureAsync, updateFeaturesAsync
-
Constructor Details
-
GeodatabaseFeatureTable
Creates a GeodatabaseFeatureTable instance that relates to the given table based on the given relationship info.- Parameters:
table
- the related tablerelationshipInfo
- the relationship info defining the relationship between this new table and the given table- Throws:
IllegalArgumentException
- if table or relationshipInfo are null- Since:
- 100.1.0
-
-
Method Details
-
getGeodatabase
Gets the geodatabase that this table belongs to.- Returns:
- the geodatabase that this table belongs to
- Since:
- 100.0.0
-
hasLocalEditsSince
Indicates if the geodatabase feature table has local edits since a specific date.- Parameters:
calendar
- check will be made from this date- Returns:
- true if there were local edits since the given date, false otherwise
- Throws:
IllegalArgumentException
- if calendar is null- Since:
- 100.0.0
-