T
- Element typepublic abstract class PositionedCursor<T> extends AbstractCursor
Cursor
that caches its current row.Modifier and Type | Class and Description |
---|---|
protected class |
PositionedCursor.ArrayGetter
Implementation of
AbstractCursor.Getter
that reads from records that are arrays. |
protected class |
PositionedCursor.FieldGetter
Implementation of
AbstractCursor.Getter
that reads fields via reflection. |
protected class |
PositionedCursor.ListGetter
Implementation of
AbstractCursor.Getter
that reads items from a list. |
protected class |
PositionedCursor.MapGetter<K>
Implementation of
AbstractCursor.Getter
that reads entries from a Map . |
protected class |
PositionedCursor.ObjectGetter
Implementation of
AbstractCursor.Getter
for records that consist of a single field. |
AbstractCursor.AbstractGetter, AbstractCursor.ArrayAccessor, AbstractCursor.Getter, AbstractCursor.SlotGetter, AbstractCursor.StructGetter
Cursor.Accessor
wasNull
Constructor and Description |
---|
PositionedCursor() |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
current()
Returns the current row.
|
createAccessor, createAccessor, createAccessors, createGetter, next, wasNull
protected abstract T current()
NoSuchElementException
- if the iteration has no more
elementsCopyright © 2012-2024 Apache Software Foundation. All Rights Reserved.