E
- Element typepublic abstract class IteratorCursor<E> extends PositionedCursor<E>
PositionedCursor.ArrayGetter, PositionedCursor.FieldGetter, PositionedCursor.ListGetter, PositionedCursor.MapGetter<K>, PositionedCursor.ObjectGetter
AbstractCursor.AbstractGetter, AbstractCursor.ArrayAccessor, AbstractCursor.Getter, AbstractCursor.SlotGetter, AbstractCursor.StructGetter
Cursor.Accessor
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, wasNull
public boolean next()
Cursor
next
in interface Cursor
next
in class AbstractCursor
public void close()
Cursor
protected E current()
PositionedCursor
current
in class PositionedCursor<E>
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.