Class 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.
      • 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 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 interface java.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 interface FeatureSet
        Returns:
        the fields of the feature set