Class: AggregationParameter

SuperMap.AggregationParameter

Aggregate query parameter settings, which only support data services from the Elasticsearch service.

new SuperMap.AggregationParameter(options)

AggregationParameter.js, line 4
Name Type Description
options Object

Initialization parameters.

Name Type Description
aggName string

Aggregate name.

aggType SuperMap.AggregationType

Aggregation type setting.

aggFieldName string

Aggregate fields.

subAgg SuperMap.AggregationParameter

Sub-aggregate class.

Members

aggFieldNamestring

Aggregate fields.

aggNamestring

Aggregate name.

Aggregation type setting.

Sub-aggregate class.