WithWindow

org.apache.flink.api.JoinedStreams.Where.EqualTo.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.

Attributes

W

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

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

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

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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

Attributes

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

Attributes

Concrete fields

val allowedLateness: Time