Class FrameChannelMerger

java.lang.Object
org.apache.druid.frame.processor.FrameChannelMerger
All Implemented Interfaces:
FrameProcessor<Long>

public class FrameChannelMerger extends Object implements FrameProcessor<Long>
Processor that merges already-sorted inputChannels and writes a fully-sorted stream to a single outputChannel. Frames from input channels must be FrameType.isRowBased(). Output frames will be row-based as well. Optionally supports combining adjacent rows with identical sort keys via a FrameCombiner, which reduces intermediate data volume during merge-sort. All combine-specific state is held in FrameChannelMerger.CombineState. For unsorted output, use FrameChannelMixer instead.