Package org.apache.arrow.datafusion
Class ListingTable
java.lang.Object
org.apache.arrow.datafusion.ListingTable
- All Implemented Interfaces:
AutoCloseable,TableProvider
A data source composed of multiple files that share a schema
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidclose()final longlongGet a pointer to the native objectprotected final booleanisClosed()protected final voidregisterChild(org.apache.arrow.datafusion.AbstractProxy child) Register a child proxy object that should be closed when this object is closed
-
Constructor Details
-
ListingTable
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
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-