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