Class FrameChannelBatcher

java.lang.Object
org.apache.druid.frame.processor.FrameChannelBatcher
All Implemented Interfaces:
FrameProcessor<Pair<List<Frame>,it.unimi.dsi.fastutil.ints.IntSet>>

public class FrameChannelBatcher extends Object implements FrameProcessor<Pair<List<Frame>,it.unimi.dsi.fastutil.ints.IntSet>>
Processor that reads up to "maxFrames" frames from some input channels and combines them into a batch. There may be frames left over in the channels when the worker is done. Returns the batch and the set of channels that have more left to read. This processor does not close its input channels. The caller should do that after all input channels are finished.