Package org.apache.arrow.datafusion
Class ListingOptions.Builder
java.lang.Object
org.apache.arrow.datafusion.ListingOptions.Builder
- Enclosing class:
- ListingOptions
A Builder for
ListingOptions instances-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build a newListingOptionsinstance from the configured builderwithCollectStat(boolean collectStat) Specify whether to collect statistics from fileswithFileExtension(String fileExtension) Specify a suffix used to filter files in the listing location
-
Constructor Details
-
Builder
Create a newListingOptionsbuilder- Parameters:
format- The file format used by data files in the listing table
-
-
Method Details
-
withFileExtension
Specify a suffix used to filter files in the listing location- Parameters:
fileExtension- The file suffix to filter on- Returns:
- This builder
-
withCollectStat
Specify whether to collect statistics from files- Parameters:
collectStat- whether to collect statistics- Returns:
- This builder
-
build
Build a newListingOptionsinstance from the configured builder- Returns:
- The built
ListingOptions
-