Package org.apache.arrow.datafusion
Class ListingOptions
java.lang.Object
org.apache.arrow.datafusion.ListingOptions
- All Implemented Interfaces:
AutoCloseable
Configures options for a
ListingTable-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ListingOptions.Builderbuilder(FileFormat format) Create a builder for listing optionsfinal voidclose()final longprotected final booleanisClosed()protected final voidregisterChild(org.apache.arrow.datafusion.AbstractProxy child) Register a child proxy object that should be closed when this object is closedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
builder
Create a builder for listing options- Parameters:
format- The file format used by data files in the listing table- Returns:
- A new
ListingOptions.Builderinstance
-
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
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-