class WithWindow[W <: Window] extends AnyRef
A co-group operation that has KeySelectors defined for both inputs as well as a WindowAssigner.
- W
Type of {@@linkWindow} on which the co-group operation works.
- Annotations
- @PublicEvolving()
- Alphabetic
- By Inheritance
- WithWindow
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new WithWindow(windowAssigner: WindowAssigner[_ >: TaggedUnion[T1, T2], W], trigger: Trigger[_ >: TaggedUnion[T1, T2], _ >: W], evictor: Evictor[_ >: TaggedUnion[T1, T2], _ >: W], allowedLateness: Time)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
allowedLateness(newLateness: Time): WithWindow[W]
Sets the time by which elements are allowed to be late.
Sets the time by which elements are allowed to be late. Delegates to WindowedStream#allowedLateness(Time)
- Annotations
- @PublicEvolving()
- val allowedLateness: Time
-
def
apply[T](function: CoGroupFunction[T1, T2, T])(implicit arg0: TypeInformation[T]): DataStream[T]
Completes the co-group operation with the user function that is executed for windowed groups.
-
def
apply[O](fun: (Iterator[T1], Iterator[T2], Collector[O]) ⇒ Unit)(implicit arg0: TypeInformation[O]): DataStream[O]
Completes the co-group operation with the user function that is executed for windowed groups.
-
def
apply[O](fun: (Iterator[T1], Iterator[T2]) ⇒ O)(implicit arg0: TypeInformation[O]): DataStream[O]
Completes the co-group operation with the user function that is executed for windowed groups.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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.
- Annotations
- @PublicEvolving()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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.
- Annotations
- @PublicEvolving()
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated