Package org.apache.arrow.driver.jdbc
Class ArrowFlightJdbcCursor
java.lang.Object
org.apache.calcite.avatica.util.AbstractCursor
org.apache.arrow.driver.jdbc.ArrowFlightJdbcCursor
- All Implemented Interfaces:
AutoCloseable
,org.apache.calcite.avatica.util.Cursor
public class ArrowFlightJdbcCursor
extends org.apache.calcite.avatica.util.AbstractCursor
Arrow Flight Jdbc's Cursor class.
-
Nested Class Summary
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
List<org.apache.calcite.avatica.util.Cursor.Accessor>
createAccessors
(List<org.apache.calcite.avatica.ColumnMetaData> columns, Calendar localCalendar, org.apache.calcite.avatica.util.ArrayImpl.Factory factory) protected org.apache.calcite.avatica.util.AbstractCursor.Getter
createGetter
(int column) ArrowFlightJdbcAccessors do not useAbstractCursor.Getter
, as it would box primitive types and cause performance issues.boolean
next()
Methods inherited from class org.apache.calcite.avatica.util.AbstractCursor
createAccessor, createAccessor, wasNull
-
Constructor Details
-
ArrowFlightJdbcCursor
-
-
Method Details
-
createAccessors
public List<org.apache.calcite.avatica.util.Cursor.Accessor> createAccessors(List<org.apache.calcite.avatica.ColumnMetaData> columns, Calendar localCalendar, org.apache.calcite.avatica.util.ArrayImpl.Factory factory) - Specified by:
createAccessors
in interfaceorg.apache.calcite.avatica.util.Cursor
- Overrides:
createAccessors
in classorg.apache.calcite.avatica.util.AbstractCursor
-
createGetter
protected org.apache.calcite.avatica.util.AbstractCursor.Getter createGetter(int column) ArrowFlightJdbcAccessors do not useAbstractCursor.Getter
, as it would box primitive types and cause performance issues. Each Accessor implementation works directly on Arrow Vectors.- Specified by:
createGetter
in classorg.apache.calcite.avatica.util.AbstractCursor
-
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()
-