public abstract class TimerReference
extends java.lang.Object
Constructor and Description |
---|
TimerReference() |
Modifier and Type | Method and Description |
---|---|
static TimerReference |
fromTimerId(org.apache.beam.model.pipeline.v1.RunnerApi.ExecutableStagePayload.TimerId timerId,
org.apache.beam.model.pipeline.v1.RunnerApi.Components components)
Create a timer reference from a TimerId proto and components.
|
abstract java.lang.String |
localName()
The local name the referencing PTransform uses to refer to this timer.
|
static TimerReference |
of(PipelineNode.PTransformNode transform,
java.lang.String localName)
Create a timer reference.
|
abstract PipelineNode.PTransformNode |
transform()
The PTransform that uses this timer.
|
public static TimerReference of(PipelineNode.PTransformNode transform, java.lang.String localName)
public static TimerReference fromTimerId(org.apache.beam.model.pipeline.v1.RunnerApi.ExecutableStagePayload.TimerId timerId, org.apache.beam.model.pipeline.v1.RunnerApi.Components components)
public abstract PipelineNode.PTransformNode transform()
public abstract java.lang.String localName()