Interface AggregableMap<K,​V>

  • All Superinterfaces:
    java.util.Map<K,​V>
    All Known Implementing Classes:
    Table.Row

    public interface AggregableMap<K,​V>
    extends java.util.Map<K,​V>
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      V getAggregated​(java.lang.Object key, java.lang.String function, int n)
      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​(java.lang.Object key,
                        java.lang.String function,
                        int n)

        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 all Lag.Aggregate enum constant values (except for the `none` value).
        n - The window size.
        Returns:
        The aggregate field value.