OnKeyedStream

org.apache.flinkx.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

Type parameters

K

The type of key

T

The type of the data stream items

Value parameters

stream

The wrapped data stream

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

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

Attributes

Returns

A data set of Ts