E - Element typepublic abstract class IteratorCursor<E> extends PositionedCursor<E>
| Modifier and Type | Class and Description |
|---|---|
private static class |
IteratorCursor.Position
Are we positioned on a valid row?
|
PositionedCursor.ArrayGetter, PositionedCursor.FieldGetter, PositionedCursor.ListGetter, PositionedCursor.MapGetter<K>, PositionedCursor.ObjectGetterAbstractCursor.AbstractGetter, AbstractCursor.AccessorImpl, AbstractCursor.ArrayAccessor, AbstractCursor.Getter, AbstractCursor.NumberAccessor, AbstractCursor.SlotGetter, AbstractCursor.StructGetterCursor.Accessor| Modifier and Type | Field and Description |
|---|---|
private E |
current |
private Iterator<E> |
iterator |
private IteratorCursor.Position |
position |
wasNull| Modifier | Constructor and Description |
|---|---|
protected |
IteratorCursor(Iterator<E> iterator)
Creates an
IteratorCursor. |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this cursor and releases resources.
|
protected E |
current()
Returns the current row.
|
boolean |
next()
Moves to the next row.
|
createAccessor, createAccessor, createAccessors, createGetter, intToTime, longToTimestamp, wasNullprivate IteratorCursor.Position position
private E current
public boolean next()
Cursornext in interface Cursornext in class AbstractCursorpublic void close()
Cursorprotected E current()
PositionedCursorcurrent in class PositionedCursor<E>Copyright © 2012–2016 The Apache Software Foundation. All rights reserved.