Class CountByKeyStreamlet<R,​K>

  • All Implemented Interfaces:
    Streamlet<KeyValue<K,​Long>>, StreamletBase<KeyValue<K,​Long>>

    public class CountByKeyStreamlet<R,​K>
    extends StreamletImpl<KeyValue<K,​Long>>
    ReduceByKeyAndWindowStreamlet represents a KVStreamlet that is the result of applying user supplied reduceFn on all elements within each window defined by a user supplied Window Config. Note that this is a stateful operation. And K and T types need to be serializable. ReduceByKeyAndWindowStreamlet's elements are of KeyValue type where the key is KeyWindowInfo<K> type and the value is of type V.