OnKeyedStream

class OnKeyedStream[T, K](stream: KeyedStream[T, K])

Wraps a keyed data stream, allowing to use anonymous partial functions to perform extraction of items in a tuple, case class instance or collection

Type parameters:
K

The type of key

T

The type of the data stream items

Value parameters:
stream

The wrapped data stream

class Object
trait Matchable
class Any

Value members

Concrete methods

@PublicEvolving
def reduceWith(fun: (T, T) => T): DataStream[T]

Applies a reducer fun to the stream

Applies a reducer fun to the stream

Value parameters:
fun

The reducing function to be applied on the keyed stream

Returns:

A data set of Ts