Package org.jpmml.evaluator
Interface AggregableMap<K,V>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VgetAggregated(K key, String function, int n, List<K> blockIndicatorKeys)Gets the aggregate field value after applying a "window transformation" to the current position.-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Method Detail
-
getAggregated
V getAggregated(K key, String function, int n, List<K> blockIndicatorKeys)
Gets the aggregate field value after applying a "window transformation" to the current position.
- Parameters:
key- The field name.function- The aggregation function name. The implementation should recognize and support allLag.Aggregateenum constant values (except for the `none` value).n- The window size.blockIndicatorKeys- Block indicator field names.- Returns:
- The aggregate field value.
-
-