|
||||||||||
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
The Class QueryTask.
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. |
void |
executeAsync(Query query,
CallbackListener<FeatureSet> callback)
Execute the query asynchronously. |
Map<Integer,FeatureSet> |
executeRelationshipQuery(QueryRelatedRecordsParameters query)
Execute relationship query. |
void |
executeRelationshipQueryAsync(QueryRelatedRecordsParameters query,
CallbackListener<Map<Integer,FeatureSet>> callback)
Execute relationship query asynchronously. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, 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
- the query
Exception
public void executeAsync(Query query, CallbackListener<FeatureSet> callback)
query
- the querycallback
- the call backpublic Map<Integer,FeatureSet> executeRelationshipQuery(QueryRelatedRecordsParameters query) throws Exception
query
- the query
Exception
public void executeRelationshipQueryAsync(QueryRelatedRecordsParameters query, CallbackListener<Map<Integer,FeatureSet>> callback)
query
- the querycallback
- the call back
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |