Google Cloud Dataflow SDK for Java, version 1.9.1
com.google.cloud.dataflow.sdk.transforms.windowing
Class WindowFn.AssignContext
- java.lang.Object
-
- com.google.cloud.dataflow.sdk.transforms.windowing.WindowFn.AssignContext
-
- Enclosing class:
- WindowFn<T,W extends BoundedWindow>
public abstract class WindowFn.AssignContext extends Object
Information available when runningWindowFn.assignWindows(com.google.cloud.dataflow.sdk.transforms.windowing.WindowFn<T, W>.AssignContext)
.
-
-
Constructor Summary
Constructors Constructor and Description AssignContext()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description abstract T
element()
Returns the current element.abstract Instant
timestamp()
Returns the timestamp of the current element.abstract Collection<? extends BoundedWindow>
windows()
Returns the windows the current element was in, prior to thisWindowFn
being called.
-
-
-
Method Detail
-
element
public abstract T element()
Returns the current element.
-
timestamp
public abstract Instant timestamp()
Returns the timestamp of the current element.
-
windows
public abstract Collection<? extends BoundedWindow> windows()
Returns the windows the current element was in, prior to thisWindowFn
being called.
-
-