Lazily expanded MultiFileList.
More...
|
|
| LazyMultiFileList (optional_ptr< ClientContext > context) |
| |
| vector< OpenFileInfo > | GetAllFiles () const override |
| |
| FileExpandResult | GetExpandResult () const override |
| |
| idx_t | GetTotalFileCount () const override |
| | Get the total file count - forces all files to be expanded / known so the exact count can be computed.
|
| |
| MultiFileCount | GetFileCount (idx_t min_exact_count=0) const override |
| |
|
MultiFileListIterationHelper | Files () const |
| | Get Iterator over the files for pretty for loops.
|
| |
|
void | InitializeScan (MultiFileListScanData &iterator) const |
| | Initialize a sequential scan over a file list.
|
| |
|
bool | Scan (MultiFileListScanData &iterator, OpenFileInfo &result_file) const |
| | Scan the next file into result_file, returns false when out of files.
|
| |
|
OpenFileInfo | GetFirstFile () const |
| | Returns the first file or an empty string if GetTotalFileCount() == 0.
|
| |
|
bool | IsEmpty () const |
| | Syntactic sugar for GetExpandResult() == FileExpandResult::NO_FILES.
|
| |
|
virtual unique_ptr< MultiFileList > | ComplexFilterPushdown (ClientContext &context, const MultiFileOptions &options, MultiFilePushdownInfo &info, vector< unique_ptr< Expression > > &filters) const |
| | Virtual functions for subclasses.
|
| |
|
virtual unique_ptr< MultiFileList > | DynamicFilterPushdown (ClientContext &context, const MultiFileOptions &options, const vector< string > &names, const vector< LogicalType > &types, const vector< column_t > &column_ids, TableFilterSet &filters) const |
| |
|
virtual vector< OpenFileInfo > | GetDisplayFileList (optional_idx max_files=optional_idx()) const |
| |
|
virtual unique_ptr< NodeStatistics > | GetCardinality (ClientContext &context) const |
| |
|
virtual unique_ptr< MultiFileList > | Copy () const |
| |
| template<class TARGET > |
| TARGET & | Cast () |
| |
| template<class TARGET > |
| const TARGET & | Cast () const |
| |
|
|
bool | ExpandNextPathInternal () const |
| |
Lazily expanded MultiFileList.
◆ GetAllFiles()
◆ GetExpandResult()
| FileExpandResult duckdb::LazyMultiFileList::GetExpandResult |
( |
| ) |
const |
|
overridevirtual |
◆ GetTotalFileCount()
| idx_t duckdb::LazyMultiFileList::GetTotalFileCount |
( |
| ) |
const |
|
overridevirtual |
Get the total file count - forces all files to be expanded / known so the exact count can be computed.
Implements duckdb::MultiFileList.
◆ GetFileCount()
Get the file count - anything under "min_exact_count" is allowed to be incomplete (i.e. NOT_ALL_FILES_KNOWN) This allows us to get a rough idea of the file count
Reimplemented from duckdb::MultiFileList.
◆ FileIsAvailable()
| bool duckdb::LazyMultiFileList::FileIsAvailable |
( |
idx_t |
i | ) |
const |
|
overrideprotectedvirtual |
Whether or not the file at the index is available instantly - or if this requires additional I/O.
Reimplemented from duckdb::MultiFileList.
◆ GetFile()
◆ ExpandNextPath()
| virtual bool duckdb::LazyMultiFileList::ExpandNextPath |
( |
| ) |
const |
|
protectedpure virtual |
The documentation for this class was generated from the following file:
- external/duckdb/duckdb.cpp