public class FrameCursor extends Object implements Cursor
Cursor used by FrameCursorFactory
and FrameCursorFactory.
Adds the methods getCurrentRow() and setCurrentRow(int) so the cursor can be moved to
particular rows.| Constructor and Description |
|---|
FrameCursor(SimpleSettableOffset offset,
ColumnSelectorFactory columnSelectorFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
advance() |
void |
advanceUninterruptibly() |
ColumnSelectorFactory |
getColumnSelectorFactory() |
int |
getCurrentRow()
Returns the current row number.
|
org.joda.time.DateTime |
getTime() |
boolean |
isDone() |
boolean |
isDoneOrInterrupted() |
void |
reset() |
void |
setCurrentRow(int rowNumber)
Moves this cursor to a particular row number.
|
public FrameCursor(SimpleSettableOffset offset, ColumnSelectorFactory columnSelectorFactory)
public ColumnSelectorFactory getColumnSelectorFactory()
getColumnSelectorFactory in interface Cursorpublic void advanceUninterruptibly()
advanceUninterruptibly in interface Cursorpublic boolean isDoneOrInterrupted()
isDoneOrInterrupted in interface Cursorpublic int getCurrentRow()
public void setCurrentRow(int rowNumber)
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.