OnKeyedStream

org.apache.flink.api.extensions.impl.acceptPartialFunctions.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

Attributes

K

The type of key

T

The type of the data stream items

stream

The wrapped data stream

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

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

Attributes

fun

The reducing function to be applied on the keyed stream

Returns:

A data set of Ts