Package org.apache.calcite.runtime
Class ObjectEnumeratorCursor
java.lang.Object
org.apache.calcite.avatica.util.AbstractCursor
org.apache.calcite.avatica.util.PositionedCursor<Object>
org.apache.calcite.runtime.ObjectEnumeratorCursor
- All Implemented Interfaces:
AutoCloseable
,org.apache.calcite.avatica.util.Cursor
public class ObjectEnumeratorCursor
extends org.apache.calcite.avatica.util.PositionedCursor<Object>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.calcite.avatica.util.PositionedCursor
org.apache.calcite.avatica.util.PositionedCursor.ArrayGetter, org.apache.calcite.avatica.util.PositionedCursor.FieldGetter, org.apache.calcite.avatica.util.PositionedCursor.ListGetter, org.apache.calcite.avatica.util.PositionedCursor.MapGetter<K>, org.apache.calcite.avatica.util.PositionedCursor.ObjectGetter
Nested classes/interfaces inherited from class org.apache.calcite.avatica.util.AbstractCursor
org.apache.calcite.avatica.util.AbstractCursor.AbstractGetter, org.apache.calcite.avatica.util.AbstractCursor.ArrayAccessor, org.apache.calcite.avatica.util.AbstractCursor.Getter, org.apache.calcite.avatica.util.AbstractCursor.SlotGetter, org.apache.calcite.avatica.util.AbstractCursor.StructGetter
Nested classes/interfaces inherited from interface org.apache.calcite.avatica.util.Cursor
org.apache.calcite.avatica.util.Cursor.Accessor
-
Field Summary
Fields inherited from class org.apache.calcite.avatica.util.AbstractCursor
wasNull
-
Constructor Summary
ConstructorDescriptionObjectEnumeratorCursor
(Enumerator<Object> enumerator) Creates an ObjectEnumeratorCursor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected org.apache.calcite.avatica.util.AbstractCursor.Getter
createGetter
(int ordinal) protected Object
current()
boolean
next()
Methods inherited from class org.apache.calcite.avatica.util.AbstractCursor
createAccessor, createAccessor, createAccessors, wasNull
-
Constructor Details
-
ObjectEnumeratorCursor
Creates an ObjectEnumeratorCursor.- Parameters:
enumerator
- Enumerator
-
-
Method Details
-
createGetter
protected org.apache.calcite.avatica.util.AbstractCursor.Getter createGetter(int ordinal) - Specified by:
createGetter
in classorg.apache.calcite.avatica.util.AbstractCursor
-
current
- Specified by:
current
in classorg.apache.calcite.avatica.util.PositionedCursor<Object>
-
next
public boolean next()- Specified by:
next
in interfaceorg.apache.calcite.avatica.util.Cursor
- Specified by:
next
in classorg.apache.calcite.avatica.util.AbstractCursor
-
close
public void close()
-