@DoFn.UnboundedPerElement protected static class Watch.WatchGrowthFn<InputT,OutputT,KeyT,TerminationStateT> extends DoFn<InputT,KV<InputT,java.util.List<TimestampedValue<OutputT>>>>
DoFn.AlwaysFetched, DoFn.BoundedPerElement, DoFn.BundleFinalizer, DoFn.Element, DoFn.FieldAccess, DoFn.FinishBundle, DoFn.FinishBundleContext, DoFn.GetInitialRestriction, DoFn.GetInitialWatermarkEstimatorState, DoFn.GetRestrictionCoder, DoFn.GetSize, DoFn.GetWatermarkEstimatorStateCoder, DoFn.Key, DoFn.MultiOutputReceiver, DoFn.NewTracker, DoFn.NewWatermarkEstimator, DoFn.OnTimer, DoFn.OnTimerContext, DoFn.OnTimerFamily, DoFn.OnWindowExpiration, DoFn.OnWindowExpirationContext, DoFn.OutputReceiver<T>, DoFn.ProcessContext, DoFn.ProcessContinuation, DoFn.ProcessElement, DoFn.RequiresStableInput, DoFn.RequiresTimeSortedInput, DoFn.Restriction, DoFn.Setup, DoFn.SideInput, DoFn.SplitRestriction, DoFn.StartBundle, DoFn.StartBundleContext, DoFn.StateId, DoFn.Teardown, DoFn.TimerFamily, DoFn.TimerId, DoFn.Timestamp, DoFn.TruncateRestriction, DoFn.UnboundedPerElement, DoFn.WatermarkEstimatorState, DoFn.WindowedContext
Modifier and Type | Method and Description |
---|---|
org.apache.beam.sdk.transforms.Watch.GrowthState |
getInitialRestriction(InputT element) |
Instant |
getInitialWatermarkEstimatorState(Instant currentElementTimestamp) |
Coder<org.apache.beam.sdk.transforms.Watch.GrowthState> |
getRestrictionCoder() |
org.apache.beam.sdk.transforms.Watch.GrowthTracker<OutputT,TerminationStateT> |
newTracker(org.apache.beam.sdk.transforms.Watch.GrowthState restriction) |
WatermarkEstimators.Manual |
newWatermarkEstimator(Instant watermarkEstimatorState) |
DoFn.ProcessContinuation |
process(DoFn.ProcessContext c,
RestrictionTracker<org.apache.beam.sdk.transforms.Watch.GrowthState,KV<Watch.Growth.PollResult<OutputT>,TerminationStateT>> tracker,
ManualWatermarkEstimator<Instant> watermarkEstimator) |
getAllowedTimestampSkew, getInputTypeDescriptor, getOutputTypeDescriptor, populateDisplayData, prepareForProcessing
@DoFn.GetInitialWatermarkEstimatorState public Instant getInitialWatermarkEstimatorState(@DoFn.Timestamp Instant currentElementTimestamp)
@DoFn.NewWatermarkEstimator public WatermarkEstimators.Manual newWatermarkEstimator(@DoFn.WatermarkEstimatorState Instant watermarkEstimatorState)
@DoFn.ProcessElement public DoFn.ProcessContinuation process(DoFn.ProcessContext c, RestrictionTracker<org.apache.beam.sdk.transforms.Watch.GrowthState,KV<Watch.Growth.PollResult<OutputT>,TerminationStateT>> tracker, ManualWatermarkEstimator<Instant> watermarkEstimator) throws java.lang.Exception
java.lang.Exception
@DoFn.GetInitialRestriction public org.apache.beam.sdk.transforms.Watch.GrowthState getInitialRestriction(@DoFn.Element InputT element)
@DoFn.NewTracker public org.apache.beam.sdk.transforms.Watch.GrowthTracker<OutputT,TerminationStateT> newTracker(@DoFn.Restriction org.apache.beam.sdk.transforms.Watch.GrowthState restriction)
@DoFn.GetRestrictionCoder public Coder<org.apache.beam.sdk.transforms.Watch.GrowthState> getRestrictionCoder()