|
|
| SimpleMultiFileList (vector< OpenFileInfo > paths) |
| | Construct a SimpleMultiFileList from a list of already expanded files.
|
| |
| vector< OpenFileInfo > | GetAllFiles () const override |
| | Main MultiFileList API.
|
| |
| 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.
|
| |
|
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 MultiFileCount | GetFileCount (idx_t min_exact_count=0) 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 |
| |
MultiFileList that takes a list of files and produces the same list of paths. Useful for quickly wrapping existing vectors of paths in a MultiFileList without changing any code