Class WindowFn.AssignContext
- java.lang.Object
-
- org.apache.beam.sdk.transforms.windowing.WindowFn.AssignContext
-
- Enclosing class:
- WindowFn<T,W extends BoundedWindow>
public abstract class WindowFn.AssignContext extends java.lang.Object
Information available when runningWindowFn.assignWindows(org.apache.beam.sdk.transforms.windowing.WindowFn.AssignContext)
.
-
-
Constructor Summary
Constructors Constructor Description AssignContext()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract T
element()
Returns the current element.abstract org.joda.time.Instant
timestamp()
Returns the timestamp of the current element.abstract BoundedWindow
window()
Returns the window of the current element prior to thisWindowFn
being called.
-
-
-
Method Detail
-
element
public abstract T element()
Returns the current element.
-
timestamp
public abstract org.joda.time.Instant timestamp()
Returns the timestamp of the current element.
-
window
public abstract BoundedWindow window()
Returns the window of the current element prior to thisWindowFn
being called.
-
-