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.

Type parameters:
IN1

Input type of elements from the first stream

IN2

Input type of elements from the second stream

KEY

The type of the key

class Object
trait Matchable
class Any

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

@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.

Type parameters:
OUT

The output type

Value parameters:
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