Class DefaultSequenceCombiner<EventKeyT,EventT,StateT extends MutableState<EventT,?>>

java.lang.Object
org.apache.beam.sdk.transforms.Combine.CombineFn<TimestampedValue<KV<EventKeyT,KV<Long,EventT>>>,SequenceRangeAccumulator,ContiguousSequenceRange>
org.apache.beam.sdk.extensions.ordered.combiner.DefaultSequenceCombiner<EventKeyT,EventT,StateT>
Type Parameters:
EventKeyT - type of key
EventT - type of event
StateT - type of state
All Implemented Interfaces:
Serializable, CombineFnBase.GlobalCombineFn<TimestampedValue<KV<EventKeyT,KV<Long,EventT>>>,SequenceRangeAccumulator,ContiguousSequenceRange>, HasDisplayData

public class DefaultSequenceCombiner<EventKeyT,EventT,StateT extends MutableState<EventT,?>> extends Combine.CombineFn<TimestampedValue<KV<EventKeyT,KV<Long,EventT>>>,SequenceRangeAccumulator,ContiguousSequenceRange>
Default global sequence combiner.

Produces the largest ContiguousSequenceRange of contiguous longs which starts from the initial event identified by

invalid reference
EventExaminer#isInitialEvent(long, EventT)
.

This combiner currently doesn't use

invalid reference
EventExaminer#isLastEvent(long, EventT)
.
See Also: