Package com.esri.arcgisruntime.data
Class FeatureQueryResult
- java.lang.Object
-
- com.esri.arcgisruntime.data.FeatureQueryResult
-
- All Implemented Interfaces:
FeatureSet
,java.lang.Iterable<Feature>
public final class FeatureQueryResult extends java.lang.Object implements FeatureSet
Represents the result of a query on a FeatureTable. This iterator traverses the features found by the query.- Since:
- 100.0.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Field>
getFields()
Gets the fields of the feature set.GeometryType
getGeometryType()
Gets the geometry type of the feature set.SpatialReference
getSpatialReference()
Gets the spatial reference of the feature set.boolean
isTransferLimitExceeded()
Indicates if the number of features in the query result exceeded the transfer limit set on the service.java.util.Iterator<Feature>
iterator()
Returns a new iterator over the set of features.
-
-
-
Method Detail
-
isTransferLimitExceeded
public boolean isTransferLimitExceeded()
Indicates if the number of features in the query result exceeded the transfer limit set on the service.- Returns:
- true if the number of features in the query result exceeded the transfer limit; otherwise false
- Since:
- 100.0.0
-
iterator
public java.util.Iterator<Feature> iterator()
Returns a new iterator over the set of features. Iterators previously returned from this method will become invalid and their methods will throw an IllegalStateException.- Specified by:
iterator
in interfacejava.lang.Iterable<Feature>
- Returns:
- a new iterator over the set of features in this FeatureQueryResult
- Since:
- 100.0.0
-
getFields
public java.util.List<Field> getFields()
Description copied from interface:FeatureSet
Gets the fields of the feature set.- Specified by:
getFields
in interfaceFeatureSet
- Returns:
- the fields of the feature set
-
getGeometryType
public GeometryType getGeometryType()
Description copied from interface:FeatureSet
Gets the geometry type of the feature set.- Specified by:
getGeometryType
in interfaceFeatureSet
- Returns:
- a geometry type
-
getSpatialReference
public SpatialReference getSpatialReference()
Description copied from interface:FeatureSet
Gets the spatial reference of the feature set.- Specified by:
getSpatialReference
in interfaceFeatureSet
- Returns:
- a spatial reference
-
-