Class ListingOptions

java.lang.Object
org.apache.arrow.datafusion.ListingOptions
All Implemented Interfaces:
AutoCloseable

public class ListingOptions extends Object implements AutoCloseable
Configures options for a ListingTable
  • Method Details

    • builder

      public static ListingOptions.Builder builder(FileFormat format)
      Create a builder for listing options
      Parameters:
      format - The file format used by data files in the listing table
      Returns:
      A new ListingOptions.Builder instance
    • 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