public abstract static class DoFnSignature.OnTimerMethod extends java.lang.Object implements DoFnSignature.MethodWithExtraParameters
DoFn.OnTimer method.| Constructor and Description |
|---|
OnTimerMethod() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.util.List<DoFnSignature.Parameter> |
extraParameters()
Types of optional parameters of the annotated method, in the order they appear.
|
abstract java.lang.String |
id()
The id on the method's
DoFn.TimerId annotation. |
abstract boolean |
requiresStableInput()
Whether this method requires stable input, expressed via
DoFn.RequiresStableInput. |
abstract java.lang.reflect.Method |
targetMethod()
The annotated method itself.
|
abstract TypeDescriptor<? extends BoundedWindow> |
windowT()
The window type used by this method, if any.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitobservesWindowpublic abstract java.lang.String id()
DoFn.TimerId annotation.public abstract java.lang.reflect.Method targetMethod()
targetMethod in interface DoFnSignature.DoFnMethodpublic abstract boolean requiresStableInput()
DoFn.RequiresStableInput. For timers, this means that any
state must be stably persisted prior to calling it.@Nullable public abstract TypeDescriptor<? extends BoundedWindow> windowT()
windowT in interface DoFnSignature.MethodWithExtraParameterspublic abstract java.util.List<DoFnSignature.Parameter> extraParameters()
extraParameters in interface DoFnSignature.MethodWithExtraParameters