java.lang.Object
com.esri.arcgisruntime.data.RelatedFeatureQueryResult
- All Implemented Interfaces:
 FeatureSet,Iterable<Feature>
Represents the results of a related tables query. This iterator traverses the features found by the query.
 
A prerequisite for querying related features is that all the participating tables must be part of a map, as either feature layers or non-spatial tables.
Example usage:
 
 List<RelatedFeatureQueryResult> relatedFeatureQueryResultList = relatedFeatureQueryResultFuture.get();
 //iterate over returned RelatedFeatureQueryResults
 for(RelatedFeatureQueryResult relatedQueryResult : relatedFeatureQueryResultList){
   //iterate over Features returned
   for (Feature relatedFeature : relatedQueryResult) {
     ArcGISFeature agsFeature = (ArcGISFeature) relatedFeature;
   }
 }
- Since:
 - 100.1.0
 
- 
Method Summary
Modifier and TypeMethodDescriptionGets the feature for which related features were queried.Gets the fields of the feature set.Gets the geometry type of the feature set.Gets the related table for this query result.Gets the relationship info for this query result.Gets the spatial reference of the feature set.booleanGets if the transfer limit on the service was exceeded.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, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator 
- 
Method Details
- 
getFields
Description copied from interface:FeatureSetGets the fields of the feature set.- Specified by:
 getFieldsin interfaceFeatureSet- Returns:
 - the fields of the feature set
 
 - 
getGeometryType
Description copied from interface:FeatureSetGets the geometry type of the feature set.- Specified by:
 getGeometryTypein interfaceFeatureSet- Returns:
 - a geometry type
 
 - 
getSpatialReference
Description copied from interface:FeatureSetGets the spatial reference of the feature set.- Specified by:
 getSpatialReferencein interfaceFeatureSet- Returns:
 - a spatial reference
 
 - 
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. - 
getFeature
Gets the feature for which related features were queried.- Returns:
 - the feature
 - Since:
 - 100.1.0
 
 - 
getRelationshipInfo
Gets the relationship info for this query result.- Returns:
 - the relationship info
 - Since:
 - 100.1.0
 
 - 
isTransferLimitExceeded
public boolean isTransferLimitExceeded()Gets if the transfer limit on the service was exceeded.- Returns:
 - true if the transfer limit was exceeded, false otherwise
 - Since:
 - 100.1.0
 
 - 
getRelatedTable
Gets the related table for this query result. There can be more than one instance of the same table or layer on the map with different scale level visibility, definition expression, and so on. All such instances share the same RelationshipInfo with the table the query operation is called on. In such cases, results from all such instances are returned, and the relatedTable property is used to distinguish between them.- Returns:
 - the related table
 - Since:
 - 100.1.0
 
 
 -