Class BaseFlightReader

java.lang.Object
org.apache.arrow.vector.ipc.ArrowReader
org.apache.arrow.adbc.driver.flightsql.BaseFlightReader
All Implemented Interfaces:
AutoCloseable, org.apache.arrow.vector.dictionary.DictionaryProvider
Direct Known Subclasses:
FlightInfoReader

public abstract class BaseFlightReader extends org.apache.arrow.vector.ipc.ArrowReader
Base class for ArrowReaders based on consuming data from FlightEndpoints.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.arrow.vector.dictionary.DictionaryProvider

    org.apache.arrow.vector.dictionary.DictionaryProvider.MapDictionaryProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    long
     
    boolean
     

    Methods inherited from class org.apache.arrow.vector.ipc.ArrowReader

    close, close, getDictionaryIds, getDictionaryVectors, getVectorSchemaRoot, lookup

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • loadNextBatch

      public boolean loadNextBatch() throws IOException
      Specified by:
      loadNextBatch in class org.apache.arrow.vector.ipc.ArrowReader
      Throws:
      IOException
    • bytesRead

      public long bytesRead()
      Specified by:
      bytesRead in class org.apache.arrow.vector.ipc.ArrowReader