Defines query parameters for the QueryTask.executeRelationshipQuery() method.
- See also:
The name of the class.more details
The definition expression to be applied to the related table or layer.more details
Specify the geodatabase version to display.more details
Specify the number of decimal places for the geometries returned by the query operation.more details
The historic moment to query.more details
The maximum allowable offset used for generalizing geometries returned by the query operation.more details
A comma delimited list of ObjectIds for the features in the layer/table being queried.more details
Attribute fields to include in the FeatureSet.more details
The spatial reference for the returned geometry.more details
The ID of the relationship to test.more details
The name of the class. The declared class name is formatted as
The definition expression to be applied to the related table or layer. Only records that fit the definition expression and are in the list of
objectIdswill be returned.
Specify the geodatabase version to display.
Specify the number of decimal places for the geometries returned by the query operation.
The historic moment to query. This parameter applies only if the
supportsHistoricMomentproperty of the layers being queried is set to
The maximum allowable offset used for generalizing geometries returned by the query operation. The offset is in the units of
outSpatialReferenceis not defined, the spatial reference of the map is used.
A comma delimited list of ObjectIds for the features in the layer/table being queried.
Attribute fields to include in the FeatureSet. Fields must exist in the map layer. You must list actual field names rather than the alias names. You are, however, able to use the alias names when you display the results. You can set field alias names in the map document.
When specifying the output fields, you should limit the fields to only those you expect to use in the query or the results. The fewer fields you include, the faster the response will be.
Each query must have access to the Shape and ObjectId fields for a layer. However, your list of fields does not need to include these two fields.Example:
query.outFields = [ "NAME", "STATE_ABBR", "POP04" ];
The spatial reference for the returned geometry. If not specified, the geometry is returned in the spatial reference of the map.
The ID of the relationship to test. The ids for the relationships the table or layer participates in are listed in the ArcGIS Services directory.
true, each feature in the FeatureSet includes the geometry. Set to
false(default) if you do not plan to include highlighted features on a map since the geometry makes up a significant portion of the response.
- Default Value:false
Creates a deep clone of RelationshipQuery object.more details
Creates a new instance of this class and initializes it with values from a JSON object generated from a product in the ArcGIS platform.more details
|Object||more details||more details||RelationshipQuery|
Creates a deep clone of RelationshipQuery object.Returns:
Type Description RelationshipQuery A new instance of a RelationshipQuery object equal to the object used to call
Creates a new instance of this class and initializes it with values from a JSON object generated from a product in the ArcGIS platform. The object passed into the input
jsonparameter often comes from a response to a query operation in the REST API or a toJSON() method from another ArcGIS product. See the Using fromJSON() topic in the Guide for details and examples of when and how to use this function.Parameter:json Object
A JSON representation of the instance in the ArcGIS format. See the ArcGIS REST API documentation for examples of the structure of various input JSON objects.Returns:
Type Description * Returns a new instance of this class.
API Reference search results