java.lang.Object | |
↳ | com.esri.core.tasks.ags.query.RelationshipQuery |
Defines parameters of a query to be executed on the server that fetches related records.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
RelationshipQuery()
Default constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
getDefintionExpression()
Gets the definition expression.
| ||||||||||
double |
getMaxAllowableOffset()
Gets the maximum allowable offset, which is used to generalize the geometry in the returned features.
| ||||||||||
int[] |
getObjectIds()
Gets the object IDs to be queried.
| ||||||||||
String[] |
getOutFields()
Gets the array of fields to be included in the returned result set.
| ||||||||||
SpatialReference |
getOutSpatialReference()
Gets the spatial reference of the returned geometry.
| ||||||||||
int |
getRelationshipId()
Gets the ID of the relationship that this query is based on.
| ||||||||||
boolean |
isReturnGeometry()
Returns true if the result features include geometry.
| ||||||||||
void |
setDefinitionExpression(String defintionExpression)
Sets the definition expression.
| ||||||||||
void |
setMaxAllowableOffset(double offset)
Sets the maximum allowable offset, which is used to generalize the geometry in the returned features.
| ||||||||||
void |
setObjectIds(int[] objectIds)
Sets the object IDs to be queried.
| ||||||||||
void |
setOutFields(String[] outFields)
Sets the array of fields to be included in the returned result set.
| ||||||||||
void |
setOutSpatialReference(SpatialReference outSR)
Sets the spatial reference of the returned geometry.
| ||||||||||
void |
setRelationshipId(int id)
Sets the ID of the relationship that this query is based on.
| ||||||||||
void |
setReturnGeometry(boolean returnGeometry)
Sets if the result features should include geometry.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Default constructor.
Gets the definition expression.
Gets the maximum allowable offset, which is used to generalize the geometry in the returned features.
Gets the object IDs to be queried.
Gets the array of fields to be included in the returned result set. A wildcard "*" means that all fields are included.
Gets the spatial reference of the returned geometry.
Gets the ID of the relationship that this query is based on.
Returns true if the result features include geometry.
Sets the definition expression.
defintionExpression | definition expression. |
---|
Sets the maximum allowable offset, which is used to generalize the geometry in the returned features.
offset | maximum allowable offset. |
---|
Sets the object IDs to be queried.
objectIds | the object ids |
---|
Sets the array of fields to be included in the returned result set. A wildcard "*" means that all fields are included.
outFields | an array of field names. |
---|
Sets the spatial reference of the returned geometry.
outSR | spatial reference of the returned geometry. |
---|
Sets the ID of the relationship that this query is based on.
id | relationship ID. |
---|
Sets if the result features should include geometry.
returnGeometry | true for the result features to include geometry. |
---|