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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    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 use AbstractCursor.Getter, as it would box primitive types and cause performance issues.
    boolean
     

    Methods inherited from class org.apache.calcite.avatica.util.AbstractCursor

    createAccessor, createAccessor, wasNull

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • 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 interface org.apache.calcite.avatica.util.Cursor
      Overrides:
      createAccessors in class org.apache.calcite.avatica.util.AbstractCursor
    • createGetter

      protected org.apache.calcite.avatica.util.AbstractCursor.Getter createGetter(int column)
      ArrowFlightJdbcAccessors do not use AbstractCursor.Getter, as it would box primitive types and cause performance issues. Each Accessor implementation works directly on Arrow Vectors.
      Specified by:
      createGetter in class org.apache.calcite.avatica.util.AbstractCursor
    • next

      public boolean next()
      Specified by:
      next in interface org.apache.calcite.avatica.util.Cursor
      Specified by:
      next in class org.apache.calcite.avatica.util.AbstractCursor
    • close

      public void close()