Class Overview
Class executing a query on the server.
Summary
Public Constructors |
|
QueryTask(String url)
Instantiates a new query task.
|
|
QueryTask(String url, UserCredentials credentials)
Instantiates a new query task.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
QueryTask
(String url)
Instantiates a new query task.
public
QueryTask
(String url, UserCredentials credentials)
Instantiates a new query task.
Parameters
url |
the url |
credentials |
the user credentials |
Throws
EsriSecurityException
| the esri security exception |
Public Methods
Execute the Query
defined for this QueryTask and returns a FeatureSet
containing the results.
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.
Parameters
query |
specifies the criteria of the Query. |
Returns
- a map object in which key represents the object ID while value represents the related FeatureSet.