public class Twister2AssignContext<T,W extends BoundedWindow> extends WindowFn.AssignContext
| Constructor and Description | 
|---|
Twister2AssignContext(WindowFn<T,W> fn,
                     org.apache.beam.sdk.util.WindowedValue<T> value)  | 
| Modifier and Type | Method and Description | 
|---|---|
T | 
element()
Returns the current element. 
 | 
Instant | 
timestamp()
Returns the timestamp of the current element. 
 | 
BoundedWindow | 
window()
Returns the window of the current element prior to this  
WindowFn being called. | 
public T element()
WindowFn.AssignContextelement in class WindowFn.AssignContextpublic Instant timestamp()
WindowFn.AssignContexttimestamp in class WindowFn.AssignContextpublic BoundedWindow window()
WindowFn.AssignContextWindowFn being called.window in class WindowFn.AssignContext