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 aReadableFrameChannelinto aSequenceofFrame. This class does blocking reads on the channel, rather than nonblocking reads. Therefore, it is preferable to useReadableFrameChanneldirectly whenever nonblocking reads are desired.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFrameChannelSequence.FrameChannelIterator-
Nested classes/interfaces inherited from class org.apache.druid.java.util.common.guava.BaseSequence
BaseSequence.IteratorMaker<T,IterType extends Iterator<T>>
-
-
Constructor Summary
Constructors Constructor Description FrameChannelSequence(ReadableFrameChannel channel)
-
-
-
Constructor Detail
-
FrameChannelSequence
public FrameChannelSequence(ReadableFrameChannel channel)
-
-