WithWindow

class WithWindow[W <: Window](windowAssigner: WindowAssigner[_ >: TaggedUnion[T1, T2], W], trigger: Trigger[_ >: TaggedUnion[T1, T2], _ >: W], evictor: Evictor[_ >: TaggedUnion[T1, T2], _ >: W], val allowedLateness: Time)

A join operation that has KeySelectors defined for both inputs as well as a WindowAssigner.

Type parameters:
W

Type of { @link Window} on which the join operation works.

class Object
trait Matchable
class Any

Value members

Concrete methods

@PublicEvolving
def allowedLateness(newLateness: Time): WithWindow[W]

Sets the time by which elements are allowed to be late. Delegates to WindowedStream#allowedLateness

Sets the time by which elements are allowed to be late. Delegates to WindowedStream#allowedLateness

def apply[O : TypeInformation](fun: (T1, T2) => O): DataStream[O]

Completes the join operation with the user function that is executed for windowed groups.

Completes the join operation with the user function that is executed for windowed groups.

def apply[O : TypeInformation](fun: (T1, T2, Collector[O]) => Unit): DataStream[O]

Completes the join operation with the user function that is executed for windowed groups.

Completes the join operation with the user function that is executed for windowed groups.

def apply[T : TypeInformation](function: JoinFunction[T1, T2, T]): DataStream[T]

Completes the join operation with the user function that is executed for windowed groups.

Completes the join operation with the user function that is executed for windowed groups.

def apply[T : TypeInformation](function: FlatJoinFunction[T1, T2, T]): DataStream[T]

Completes the join operation with the user function that is executed for windowed groups.

Completes the join operation with the user function that is executed for windowed groups.

@PublicEvolving
def evictor(newEvictor: Evictor[_ >: TaggedUnion[T1, T2], _ >: W]): WithWindow[W]

Sets the Evictor that should be used to evict elements from a window before emission.

Sets the Evictor that should be used to evict elements from a window before emission.

Note: When using an evictor window performance will degrade significantly, since pre-aggregation of window results cannot be used.

@PublicEvolving
def trigger(newTrigger: Trigger[_ >: TaggedUnion[T1, T2], _ >: W]): WithWindow[W]

Sets the Trigger that should be used to trigger window emission.

Sets the Trigger that should be used to trigger window emission.

Concrete fields

val allowedLateness: Time