IntervalJoined

org.apache.flink.api.KeyedStream.IntervalJoined
@PublicEvolving
class IntervalJoined[IN1, IN2, KEY](firstStream: KeyedStream[IN1, KEY], secondStream: KeyedStream[IN2, KEY], lowerBound: Long, upperBound: Long)

IntervalJoined is a container for two streams that have keys for both sides as well as the time boundaries over which elements should be joined.

Attributes

IN1

Input type of elements from the first stream

IN2

Input type of elements from the second stream

KEY

The type of the key

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

@PublicEvolving
def lowerBoundExclusive(): IntervalJoined[IN1, IN2, KEY]

Set the lower bound to be exclusive

Set the lower bound to be exclusive

Attributes

@PublicEvolving
def process[OUT : TypeInformation](processJoinFunction: ProcessJoinFunction[IN1, IN2, OUT]): DataStream[OUT]

Completes the join operation with the user function that is executed for each joined pair of elements.

Completes the join operation with the user function that is executed for each joined pair of elements.

Attributes

OUT

The output type

processJoinFunction

The user-defined function

Returns:

Returns a DataStream

@PublicEvolving
def upperBoundExclusive(): IntervalJoined[IN1, IN2, KEY]

Set the upper bound to be exclusive

Set the upper bound to be exclusive

Attributes