Class GeodatabaseFeatureTable
- java.lang.Object
-
- com.esri.arcgisruntime.data.FeatureTable
-
- com.esri.arcgisruntime.data.ArcGISFeatureTable
-
- com.esri.arcgisruntime.data.GeodatabaseFeatureTable
-
- All Implemented Interfaces:
Loadable
,PopupSource
public final class GeodatabaseFeatureTable extends ArcGISFeatureTable
A feature table stored in a geodatabase, which includes non-spatial tables whereFeatureTable.hasGeometry()
is false.A
FeatureLayer
can be constructed using aGeodatabaseFeatureTable
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 aGeodatabase
by usingGeodatabase.getGeodatabaseFeatureTables()
, or use one of the helper methods for getting a specificGeodatabaseFeatureTable
by table name or by feature service layer ID.If the
Geodatabase
was created from the result of aGeodatabaseSyncTask
,GeodatabaseFeatureTable
s may be editable and syncable with the associated feature service, this can be determined by checkingFeatureTable.isEditable()
andGeodatabase.isSyncEnabled()
respectively.The parent class definition allows
GeodatabaseFeatureTable
to also haveFeatureTemplate
s,FeatureType
s, and support editing capabilities defined inArcGISFeatureLayerInfo.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
-
-
Constructor Summary
Constructors Constructor Description GeodatabaseFeatureTable(GeodatabaseFeatureTable table, RelationshipInfo relationshipInfo)
Creates a GeodatabaseFeatureTable instance that relates to the given table based on the given relationship info.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Geodatabase
getGeodatabase()
Gets the geodatabase that this table belongs to.boolean
hasLocalEditsSince(java.util.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, 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, getFeatureLayer, getField, getFields, getGeometryType, getLayer, getLoadError, getLoadStatus, getPopupDefinition, getSpatialReference, getTableName, getTotalFeatureCount, hasGeometry, hasM, hasZ, isEditable, isPopupEnabled, loadAsync, onDoneLoadingInternal, queryExtentAsync, queryFeatureCountAsync, queryFeaturesAsync, queryStatisticsAsync, removeDoneLoadingListener, removeLoadStatusChangedListener, retryLoadAsync, setDisplayName, setPopupDefinition, setPopupEnabled, updateFeatureAsync, updateFeaturesAsync
-
-
-
-
Constructor Detail
-
GeodatabaseFeatureTable
public GeodatabaseFeatureTable(GeodatabaseFeatureTable table, RelationshipInfo relationshipInfo)
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:
java.lang.IllegalArgumentException
- if table or relationshipInfo are null- Since:
- 100.1.0
-
-
Method Detail
-
getGeodatabase
public Geodatabase getGeodatabase()
Gets the geodatabase that this table belongs to.- Returns:
- the geodatabase that this table belongs to
- Since:
- 100.0.0
-
hasLocalEditsSince
public boolean hasLocalEditsSince(java.util.Calendar calendar)
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:
java.lang.IllegalArgumentException
- if calendar is null- Since:
- 100.0.0
-
-