public abstract class DoFn.OnTimerContext extends DoFn.WindowedContext
DoFn.OnTimer
method.Constructor and Description |
---|
OnTimerContext() |
Modifier and Type | Method and Description |
---|---|
abstract TimeDomain |
timeDomain()
Returns the time domain of the current timer.
|
abstract Instant |
timestamp()
Returns the timestamp of the current timer.
|
abstract BoundedWindow |
window()
Returns the window in which the timer is firing.
|
getPipelineOptions, output, output, outputWithTimestamp, outputWithTimestamp
public abstract Instant timestamp()
public abstract BoundedWindow window()
public abstract TimeDomain timeDomain()