Package com.esri.arcgisruntime.data
Class FeatureQueryResult
- java.lang.Object
-
- com.esri.arcgisruntime.data.FeatureQueryResult
-
- All Implemented Interfaces:
FeatureSet
,Iterable<Feature>
public final class FeatureQueryResult extends 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 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.Iterator<Feature>
iterator()
Returns a new iterator over the set of features.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
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 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.
-
getFields
public 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
-
-