Skip to main content

MapAggregationFunctionFactory

geovisto-map • Readme | API


geovisto-map / MapAggregationFunctionFactory

Class: MapAggregationFunctionFactory

This class provides a factory for aggregation functions.

Author​

Jiri Hynek

Implements​

Constructors​

new MapAggregationFunctionFactory()​

new MapAggregationFunctionFactory(): MapAggregationFunctionFactory

Returns​

MapAggregationFunctionFactory

Methods​

count()​

count(): IMapAggregationFunction

It creates the count aggregation function.

Returns​

IMapAggregationFunction

Implementation of​

IMapAggregationFunctionFactory.count

Source​

model/internal/aggregation/MapAggregationFunctionFactory.ts:25


default()​

default(type, aggregationBucket): IMapAggregationFunction

It creates a generic aggregation function.

Parameters​

• type: string

• aggregationBucket

Returns​

IMapAggregationFunction

Implementation of​

IMapAggregationFunctionFactory.default

Source​

model/internal/aggregation/MapAggregationFunctionFactory.ts:18


sum()​

sum(): IMapAggregationFunction

It creates the sum aggregation function.

Returns​

IMapAggregationFunction

Implementation of​

IMapAggregationFunctionFactory.sum

Source​

model/internal/aggregation/MapAggregationFunctionFactory.ts:32