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<StringObject>> 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.
[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 a JsonParser object
Returns
  • a QueryTask object
Throws
Exception the exception

public String getDisplayField ()

Gets the display field name.

Returns
  • String

public String getName ()

Returns the query task name.

Returns
  • String

public List<Hashtable<StringObject>> 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

public String getUrl ()

Return the url to perform the query.

Returns
  • String

public List<String> getVisibleFields ()

Returns a list of visible fields.

Returns
  • a list of String

public String getWhereClause ()

Returns the predefined the where clause.

Returns
  • String