OmniSciDB
a5dc49c757
|
Public Member Functions | |
RowGroupIntervalTracker (const std::set< std::string > &file_paths, FileReaderMap *file_reader_cache, std::shared_ptr< arrow::fs::FileSystem > file_system) | |
std::optional< RowGroupInterval > | getNextRowGroupInterval () override |
Public Member Functions inherited from foreign_storage::AbstractRowGroupIntervalTracker | |
virtual | ~AbstractRowGroupIntervalTracker ()=default |
Private Member Functions | |
bool | filesAreExhausted () |
void | advanceToNextRowGroup () |
Private Attributes | |
std::set< std::string > | file_paths_ |
FileReaderMap * | file_reader_cache_ |
std::shared_ptr < arrow::fs::FileSystem > | file_system_ |
bool | is_initialized_ |
int | num_row_groups_ |
int | current_row_group_index_ |
std::set< std::string > ::const_iterator | current_file_iter_ |
Definition at line 36 of file ParquetImporter.cpp.
|
inline |
Definition at line 38 of file ParquetImporter.cpp.
|
inlineprivate |
Definition at line 61 of file ParquetImporter.cpp.
References current_file_iter_, current_row_group_index_, file_paths_, file_reader_cache_, file_system_, filesAreExhausted(), foreign_storage::FileReaderMap::getOrInsert(), is_initialized_, and num_row_groups_.
Referenced by getNextRowGroupInterval().
|
inlineprivate |
Definition at line 59 of file ParquetImporter.cpp.
References current_file_iter_, and file_paths_.
Referenced by advanceToNextRowGroup(), and getNextRowGroupInterval().
|
inlineoverridevirtual |
Implements foreign_storage::AbstractRowGroupIntervalTracker.
Definition at line 49 of file ParquetImporter.cpp.
References advanceToNextRowGroup(), current_file_iter_, current_row_group_index_, and filesAreExhausted().
|
private |
Definition at line 92 of file ParquetImporter.cpp.
Referenced by advanceToNextRowGroup(), filesAreExhausted(), and getNextRowGroupInterval().
|
private |
Definition at line 91 of file ParquetImporter.cpp.
Referenced by advanceToNextRowGroup(), and getNextRowGroupInterval().
|
private |
Definition at line 85 of file ParquetImporter.cpp.
Referenced by advanceToNextRowGroup(), and filesAreExhausted().
|
private |
Definition at line 86 of file ParquetImporter.cpp.
Referenced by advanceToNextRowGroup().
|
private |
Definition at line 87 of file ParquetImporter.cpp.
Referenced by advanceToNextRowGroup().
|
private |
Definition at line 89 of file ParquetImporter.cpp.
Referenced by advanceToNextRowGroup().
|
private |
Definition at line 90 of file ParquetImporter.cpp.
Referenced by advanceToNextRowGroup().