# AggregatedCollection

# Members

# aggregationFunction

Source code (opens new window)

aggregatedCollection.aggregationFunction

Function which do aggregation on the values for particular index.

# fallbackValue

Source code (opens new window)

aggregatedCollection.fallbackValue

Fallback value when there is no calculated value for particular index.

# mergedValuesCache

Source code (opens new window)

aggregatedCollection.mergedValuesCache : Array

List of merged values. Value for each index is calculated using values inside registered maps.

# Methods

# getMergedValueAtIndex

Source code (opens new window)

aggregatedCollection.getMergedValueAtIndex(index, [readFromCache]) ⇒ *

Get merged value for particular index.

Param Type Default Description
index number Index for which we calculate single result.
[readFromCache] boolean true optional Determine if read results from the cache.

# getMergedValues

Source code (opens new window)

aggregatedCollection.getMergedValues([readFromCache]) ⇒ Array

Get merged values for all indexes.

Param Type Default Description
[readFromCache] boolean true optional Determine if read results from the cache.

# updateCache

Source code (opens new window)

aggregatedCollection.updateCache()

Rebuild cache for the collection.

Last Updated: Oct 26, 2021