Class foreign_storage::LocalMultiFileReader¶
-
class
LocalMultiFileReader: public foreign_storage::MultiFileReader¶ Public Functions
-
LocalMultiFileReader(const std::string &file_path, const import_export::CopyParams ©_params, const std::optional<std::string> ®ex_path_filter, const std::optional<std::string> &file_sort_order_by, const std::optional<std::string> &file_sort_regex)¶
-
LocalMultiFileReader(const std::string &file_path, const import_export::CopyParams ©_params, const rapidjson::Value &value)¶
-
void
checkForMoreRows(size_t file_offset, const ForeignServer *server_options, const UserMapping *user_mapping)¶ Rescan the target files Throws an exception if the rescan fails (ie files are not in a valid appended state or not supported)
- Parameters
file_offset: - where to resume the scan from (end of the last row) as not all of the bytes may have been consumed by the upstream compoennetserver_options: - only needed for S3 backed filesuser_mapping: - only needed for S3 backed files
Private Functions
-
void
insertFile(std::string location)¶
-