Interface Cursor

  • All Known Subinterfaces:
    HistoricalCursor
    All Known Implementing Classes:
    FrameCursor, PostJoinCursor, RowBasedCursor, UnnestColumnValueSelectorCursor, UnnestDimensionCursor

    public interface Cursor
    Cursor is an interface for iteration over a range of data points, used during query execution. QueryableIndexCursorSequenceBuilder.QueryableIndexCursor is an implementation for historical segments, and IncrementalIndexStorageAdapter.IncrementalIndexCursor is an implementation for IncrementalIndex. Cursor is conceptually similar to TimeAndDimsPointer, but the latter is used for historical segment creation rather than query execution (as Cursor). If those abstractions could be collapsed (and if it is worthwhile) is yet to be determined.
    • Method Detail

      • getTime

        org.joda.time.DateTime getTime()
      • advance

        void advance()
      • advanceUninterruptibly

        void advanceUninterruptibly()
      • isDone

        boolean isDone()
      • isDoneOrInterrupted

        boolean isDoneOrInterrupted()
      • reset

        void reset()