Class ListingTable

java.lang.Object
org.apache.arrow.datafusion.ListingTable
All Implemented Interfaces:
AutoCloseable, TableProvider

public class ListingTable extends Object implements TableProvider
A data source composed of multiple files that share a schema
  • Constructor Details

    • ListingTable

      public ListingTable(ListingTableConfig config)
      Create a new listing table
      Parameters:
      config - The listing table configuration
  • Method Details

    • getPointer

      long getPointer()
      Get a pointer to the native object
      Returns:
      Pointer value as a long
    • registerChild

      protected final void registerChild(org.apache.arrow.datafusion.AbstractProxy child)
      Register a child proxy object that should be closed when this object is closed
      Parameters:
      child - the child proxy to register
    • isClosed

      protected final boolean isClosed()
      Returns:
      Whether the object has been closed
    • getPointer

      public final long getPointer()
    • close

      public final void close() throws Exception
      Specified by:
      close in interface AutoCloseable
      Throws:
      Exception