Package org.apache.calcite.avatica.util
Class RecordIteratorCursor<E>
java.lang.Object
org.apache.calcite.avatica.util.AbstractCursor
org.apache.calcite.avatica.util.PositionedCursor<E>
org.apache.calcite.avatica.util.IteratorCursor<E>
org.apache.calcite.avatica.util.RecordIteratorCursor<E>
- Type Parameters:
E- Element type
- All Implemented Interfaces:
AutoCloseable,Cursor
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.calcite.avatica.util.PositionedCursor
PositionedCursor.ArrayGetter, PositionedCursor.FieldGetter, PositionedCursor.ListGetter, PositionedCursor.MapGetter<K>, PositionedCursor.ObjectGetterNested classes/interfaces inherited from class org.apache.calcite.avatica.util.AbstractCursor
AbstractCursor.AbstractGetter, AbstractCursor.ArrayAccessor, AbstractCursor.Getter, AbstractCursor.SlotGetter, AbstractCursor.StructGetterNested classes/interfaces inherited from interface org.apache.calcite.avatica.util.Cursor
Cursor.Accessor -
Field Summary
Fields inherited from class org.apache.calcite.avatica.util.AbstractCursor
wasNull -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.calcite.avatica.util.IteratorCursor
close, current, nextMethods inherited from class org.apache.calcite.avatica.util.AbstractCursor
createAccessor, createAccessor, createAccessors, wasNull
-
Constructor Details
-
RecordIteratorCursor
Deprecated.Creates a RecordIteratorCursor.- Parameters:
iterator- Iteratorclazz- Element type
-
RecordIteratorCursor
Creates a RecordIteratorCursor that projects particular fields.- Parameters:
iterator- Iteratorclazz- Element typefields- Fields to project
-
-
Method Details
-
createGetter
- Specified by:
createGetterin classAbstractCursor
-
RecordIteratorCursor(Iterator, Class, List)