Package org.apache.druid.segment
Class RowBasedCursor<RowType>
- java.lang.Object
-
- org.apache.druid.segment.RowBasedCursor<RowType>
-
- All Implemented Interfaces:
Cursor
public class RowBasedCursor<RowType> extends Object implements Cursor
ACursor
that is based on a stream of objects. Generally created by aRowBasedStorageAdapter
.- See Also:
for implementation notes
-
-
Constructor Summary
Constructors Constructor Description RowBasedCursor(RowWalker<RowType> rowWalker, RowAdapter<RowType> rowAdapter, Filter filter, org.joda.time.Interval interval, VirtualColumns virtualColumns, Granularity gran, boolean descending, RowSignature rowSignature)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
advance()
void
advanceUninterruptibly()
ColumnSelectorFactory
getColumnSelectorFactory()
org.joda.time.DateTime
getTime()
boolean
isDone()
boolean
isDoneOrInterrupted()
void
reset()
-
-
-
Constructor Detail
-
RowBasedCursor
public RowBasedCursor(RowWalker<RowType> rowWalker, RowAdapter<RowType> rowAdapter, @Nullable Filter filter, org.joda.time.Interval interval, VirtualColumns virtualColumns, Granularity gran, boolean descending, RowSignature rowSignature)
-
-
Method Detail
-
getColumnSelectorFactory
public ColumnSelectorFactory getColumnSelectorFactory()
- Specified by:
getColumnSelectorFactory
in interfaceCursor
-
advanceUninterruptibly
public void advanceUninterruptibly()
- Specified by:
advanceUninterruptibly
in interfaceCursor
-
isDoneOrInterrupted
public boolean isDoneOrInterrupted()
- Specified by:
isDoneOrInterrupted
in interfaceCursor
-
-