Package | com.esri.baserver.tasks.utilities |
Class | public class GetSummarizationsParameters |
Inheritance | GetSummarizationsParameters BAUtilityParameters BABaseParameters Object |
See also
Property | Defined By | ||
---|---|---|---|
activeDatasetID : String
Active dataset ID. | BAUtilityParameters | ||
dataHierarchy : String
Name of a hierarchy of data layers whose summarization variables are requested. | GetSummarizationsParameters | ||
length : int
The maximum number of requested variables. | GetSummarizationsParameters | ||
query : String
A query string filtering requested variables. | GetSummarizationsParameters | ||
resultType : BAResultType [read-only]
Type of a result returned by the task associated with these parameters. | BABaseParameters | ||
start : int
Zero-based index of the first requested variable. | GetSummarizationsParameters | ||
taskName : String [read-only]
Name of a Business Analyst Server task associated with these parameters. | BABaseParameters | ||
visibility : Array
Array of names of attributes of summarization variables to be requested. | GetSummarizationsParameters |
Method | Defined By | ||
---|---|---|---|
GetSummarizationsParameters(dataHierarchy:String = null)
Creates a new instance of the GetSummarizationsParameters class. | GetSummarizationsParameters |
dataHierarchy | property |
dataHierarchy:String
Name of a hierarchy of data layers whose summarization variables are requested. If this property value is null or empty, the default data hierarchy is used. List of available data hierarchies can be retrieved with Get Data Hierarchies task.
public function get dataHierarchy():String
public function set dataHierarchy(value:String):void
See also
length | property |
length:int
The maximum number of requested variables. Negative value means requesting all remaining variables.
The default value is -1
.
public function get length():int
public function set length(value:int):void
query | property |
query:String
A query string filtering requested variables.
The query is specified using Lucene syntax. In the simple case, the string contains a search filter of the
form field-name:search-string
where field-name is the name of the field to search
in and search-string is a string to search in the given field. For example,
"category:CEX"
query will select variables whose category property contains the "CEX" string
(ignore case).
The following properties of the SummarizationInfo class are searchable: "name", "alias", "category", "longDescription", "vintage", "groups", and "keywords".
public function get query():String
public function set query(value:String):void
start | property |
start:int
Zero-based index of the first requested variable.
The default value is 0
.
public function get start():int
public function set start(value:int):void
visibility | property |
visibility:Array
Array of names of attributes of summarization variables to be requested.
Using this parameter you can request only those attributes of summarization variables
which are necessary in your application. For example, ["name","alias"]
value
of this parameter specifies that a name and an alias name of every summarization variable
will be received. You can also requiest a group of attributes using special group names:
Value | Description |
---|---|
"$all" | All attributes. |
"$id" | The "name" attribute. |
"$min" | The "name" and "alias" attributes. |
"$default" | The "name", "alias", "category", and "longDescription" attributes. |
"$thematic" | Attributes required for thematic mapping. |
If this array is empty, all attributes of summarization variables will be requested.
public function get visibility():Array
public function set visibility(value:Array):void
GetSummarizationsParameters | () | Constructor |
public function GetSummarizationsParameters(dataHierarchy:String = null)
Creates a new instance of the GetSummarizationsParameters class.
ParametersdataHierarchy:String (default = null ) — Name of a hierarchy of data layers whose summarization variables are requested.
|
var parameters:GetSummarizationsParameters = new GetSummarizationsParameters(); // dataHierarchy is the name of a hierarchy of data layers whose summarization variables are requested. // "Standard Community Analyst Data" hierarchy is requested if this parameter is missing. //parameters.dataHierarchy = "Standard Community Analyst Data"; // start and length parameters allow you to partially request summarization variables. // Default values of these parameters: //parameters.start = 0; //parameters.length = -1; // query specifies a filter on variables to be returned. // The query below requests for Consumer Expenditure variables: //parameters.query = "category:CEX"; getSummarizationsTask.execute(parameters, new Responder(resultHandler, faultHandler));