public class

WebMapQuery

extends Object
java.lang.Object
   ↳ com.esri.core.map.WebMapQuery

Class Overview

Represents an ArcGIS query task data defined in the web map.

Summary

Constants
String PARAM_DEFAULTVALUE The Constant PARAM_DEFAULTVALUE.
String PARAM_FIELD The Constant PARAM_FIELD.
String PARAM_HELPTIP The Constant PARAM_HELPTIP.
String PARAM_OPERATOR The Constant PARAM_OPERATOR.
String PARAM_PROMPT The Constant PARAM_PROMPT.
Public Constructors
WebMapQuery()
Public Methods
static WebMapQuery fromJson(JsonParser jsonParser)
Creates a QueryTask object from the json.
String getDisplayField()
Gets the display field name.
String getName()
Returns the query task name.
List<Hashtable<String, Object>> getParameters()
Returns a list of predefined query input parameters which are stored in a pair of key and Object hashtable object.
String getUrl()
Return the url to perform the query.
List<String> getVisibleFields()
Returns a list of visible fields.
String getWhereClause()
Returns the predefined the where clause.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String PARAM_DEFAULTVALUE

The Constant PARAM_DEFAULTVALUE.

Constant Value: "defaultValue"

public static final String PARAM_FIELD

The Constant PARAM_FIELD.

Constant Value: "field"

public static final String PARAM_HELPTIP

The Constant PARAM_HELPTIP.

Constant Value: "helpTip"

public static final String PARAM_OPERATOR

The Constant PARAM_OPERATOR.

Constant Value: "operator"

public static final String PARAM_PROMPT

The Constant PARAM_PROMPT.

Constant Value: "prompt"

Public Constructors

public WebMapQuery ()

Public Methods

public static WebMapQuery fromJson (JsonParser jsonParser)

Creates a QueryTask object from the json.

Parameters
jsonParser JsonParser: a JsonParser object
Returns
WebMapQuery a QueryTask object
Throws
Exception the exception

public String getDisplayField ()

Gets the display field name.

Returns
String String

public String getName ()

Returns the query task name.

Returns
String String

public List<Hashtable<String, Object>> getParameters ()

Returns a list of predefined query input parameters which are stored in a pair of key and Object hashtable object. The key are defined as the constants:

Returns
List<Hashtable<String, Object>> a list of parameters stored in form of hashtable. PARAM_DEFAULTVALUE PARAM_FIELD PARAM_HELPTIP PARAM_OPERATOR PARAM_PROMPT

public String getUrl ()

Return the url to perform the query.

Returns
String String

public List<String> getVisibleFields ()

Returns a list of visible fields.

Returns
List<String> a list of String

public String getWhereClause ()

Returns the predefined the where clause.

Returns
String String

public String toString ()

Returns
String