Package org.apache.druid.frame.channel
Class FrameChannelSequence
java.lang.Object
org.apache.druid.java.util.common.guava.BaseSequence<RowsAndColumns,FrameChannelSequence.FrameChannelIterator>
org.apache.druid.frame.channel.FrameChannelSequence
- All Implemented Interfaces:
Sequence<RowsAndColumns>
public class FrameChannelSequence
extends BaseSequence<RowsAndColumns,FrameChannelSequence.FrameChannelIterator>
Adapter that converts a
ReadableFrameChannel into a Sequence of RowsAndColumns.
This class does blocking reads on the channel. 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
-