|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.core.tasks.ags.query.QueryTask
public class QueryTask
Class executing a query on the server.
Constructor Summary | |
---|---|
QueryTask(String url)
Instantiates a new query task. |
|
QueryTask(String url,
UserCredentials credentials)
Instantiates a new query task. |
Method Summary | |
---|---|
FeatureSet |
execute(Query query)
Execute the Query defined for this QueryTask and returns a FeatureSet containing the results |
Map<Integer,FeatureSet> |
executeRelationshipQuery(RelationshipQuery query)
Executes the RelationshipQuery defined for this QueryTask and returns a Map object, in which key represents
the object ID of the feature and value represents the FeatureSet related to this feature. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryTask(String url)
url
- the URLpublic QueryTask(String url, UserCredentials credentials) throws EsriSecurityException
url
- the urlcredentials
- the user credentials
EsriSecurityException
- the esri security exceptionMethod Detail |
---|
public FeatureSet execute(Query query) throws Exception
Query
defined for this QueryTask and returns a FeatureSet
containing the results
FeatureSet
containing the results
Exception
public Map<Integer,FeatureSet> executeRelationshipQuery(RelationshipQuery query) throws Exception
RelationshipQuery
defined for this QueryTask and returns a Map object, in which key represents
the object ID of the feature and value represents the FeatureSet
related to this feature.
query
- specifies the criteria of the Query.
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |