Package org.apache.druid.frame.segment
Class FrameCursorUtils
- java.lang.Object
-
- org.apache.druid.frame.segment.FrameCursorUtils
-
public class FrameCursorUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Filter
buildFilter(Filter filter, org.joda.time.Interval interval)
static Sequence<Frame>
cursorToFrames(Cursor cursor, FrameWriterFactory frameWriterFactory)
-
-
-
Method Detail
-
buildFilter
@Nullable public static Filter buildFilter(@Nullable Filter filter, org.joda.time.Interval interval)
-
cursorToFrames
public static Sequence<Frame> cursorToFrames(Cursor cursor, FrameWriterFactory frameWriterFactory)
Writes aCursor
to a sequence ofFrame
. This method iterates over the rows of the cursor, and writes the columns to the frames- Parameters:
cursor
- Cursor to write to the frameframeWriterFactory
- Frame writer factory to write to the frame. Determines the signature of the rows that are written to the frames
-
-