Package org.apache.druid.frame.channel
Class FrameChannelSequence
java.lang.Object
org.apache.druid.java.util.common.guava.BaseSequence<Frame,FrameChannelSequence.FrameChannelIterator>
org.apache.druid.frame.channel.FrameChannelSequence
public class FrameChannelSequence
extends BaseSequence<Frame,FrameChannelSequence.FrameChannelIterator>
Adapter that converts a
ReadableFrameChannel into a Sequence
of Frame.
This class does blocking reads on the channel, rather than nonblocking reads. Therefore, it is preferable to use
ReadableFrameChannel directly whenever nonblocking reads are desired.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.apache.druid.java.util.common.guava.BaseSequence
BaseSequence.IteratorMaker<T,IterType extends Iterator<T>> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.druid.java.util.common.guava.BaseSequence
accumulate, toYielder
-
Constructor Details
-
FrameChannelSequence
-