T1
- The type parameter of the elements in the first streamsT2
- The The type parameter of the elements in the second stream@PublicEvolving public static class KeyedStream.IntervalJoin<T1,T2,KEY> extends Object
Modifier and Type | Method and Description |
---|---|
KeyedStream.IntervalJoined<T1,T2,KEY> |
between(Time lowerBound,
Time upperBound)
Specifies the time boundaries over which the join operation works, so that
|
@PublicEvolving public KeyedStream.IntervalJoined<T1,T2,KEY> between(Time lowerBound, Time upperBound)
leftElement.timestamp + lowerBound <= rightElement.timestamp <= leftElement.timestamp + upperBoundBy default both the lower and the upper bound are inclusive. This can be configured with
KeyedStream.IntervalJoined.lowerBoundExclusive()
and
KeyedStream.IntervalJoined.upperBoundExclusive()
lowerBound
- The lower bound. Needs to be smaller than or equal to the upperBoundupperBound
- The upper bound. Needs to be bigger than or equal to the lowerBoundCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.