Package org.apache.arrow.datafusion
Class ListingTableConfig
java.lang.Object
org.apache.arrow.datafusion.ListingTableConfig
- All Implemented Interfaces:
AutoCloseable
Configuration for creating a
ListingTable-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ListingTableConfig.BuilderCreate a newListingTableConfig.Builderfor aListingTableConfigstatic ListingTableConfig.BuilderCreate a newListingTableConfig.Builderfor aListingTableConfigfrom a URIstatic ListingTableConfig.BuilderCreate a newListingTableConfig.Builderfor aListingTableConfigfrom a file pathstatic ListingTableConfig.BuilderCreate a newListingTableConfig.Builderfor aListingTableConfigfrom an array of pathsfinal 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 newListingTableConfig.Builderfor aListingTableConfig- Parameters:
tablePath- The path where data files are stored. This may be a file system path or a URL with a scheme. When no scheme is specified, glob expressions may be used to filter files.- Returns:
- A new
ListingTableConfig.Builderinstance
-
builder
Create a newListingTableConfig.Builderfor aListingTableConfigfrom a file path- Parameters:
tablePath- The path where data files are stored- Returns:
- A new
ListingTableConfig.Builderinstance
-
builder
Create a newListingTableConfig.Builderfor aListingTableConfigfrom an array of paths- Parameters:
tablePaths- The path array where data files are stored- Returns:
- A new
ListingTableConfig.Builderinstance
-
builder
Create a newListingTableConfig.Builderfor aListingTableConfigfrom a URI- Parameters:
tablePath- The location where data files are stored- Returns:
- A new
ListingTableConfig.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
-