WithWindow

org.apache.flink.api.CoGroupedStreams.Where.EqualTo.WithWindow
@PublicEvolving
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 co-group operation that has KeySelectors defined for both inputs as well as a WindowAssigner.

Attributes

W

Type of { @link Window} on which the co-group 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: (Iterator[T1], Iterator[T2]) => O): DataStream[O]

Completes the co-group operation with the user function that is executed for windowed groups.

Completes the co-group operation with the user function that is executed for windowed groups.

Attributes

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

Completes the co-group operation with the user function that is executed for windowed groups.

Completes the co-group operation with the user function that is executed for windowed groups.

Attributes

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

Completes the co-group operation with the user function that is executed for windowed groups.

Completes the co-group 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