org.apache.flink.api.extensions.impl.acceptPartialFunctions.OnDataStream
Wraps a data stream, allowing to use anonymous partial functions to perform extraction of items in a tuple, case
class instance or collection
Attributes
- 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
@PublicEvolving
Applies a predicate fun to each item of the stream, keeping only those for which the predicate holds
Applies a predicate fun to each item of the stream, keeping only those for which the predicate holds
Attributes
- fun
The predicate to be tested on each item
- Returns:
A dataset of R
@PublicEvolving
Applies a function fun to each item of the stream, producing a collection of items that will be flattened in the
resulting stream
Applies a function fun to each item of the stream, producing a collection of items that will be flattened in the
resulting stream
Attributes
- R
The type of the items in the returned stream
- fun
The function to be applied to each item
- Returns:
A dataset of R
@PublicEvolving
Keys the items according to a keying function fun
Keys the items according to a keying function fun
Attributes
- K
The type of the key, for which type information must be known
- fun
The keying function
- Returns:
A stream of Ts keyed by Ks
@PublicEvolving
Applies a function fun to each item of the stream
Applies a function fun to each item of the stream
Attributes
- R
The type of the items in the returned stream
- fun
The function to be applied to each item
- Returns:
A dataset of R