Class S3Archive

class S3Archive : public Archive

Subclassed by S3ParquetArchive

Public Functions

S3Archive(const std::string &url, const bool plain_text)
S3Archive(const std::string &url, const std::string &s3_access_key, const std::string &s3_secret_key, const std::string &s3_session_token, const std::string &s3_region, const std::string &s3_endpoint, const bool plain_text, const std::optional<std::string> &regex_path_filter, const std::optional<std::string> &file_sort_order_by, const std::optional<std::string> &file_sort_regex)
~S3Archive()
void init_for_read()
const std::vector<std::string> &get_objkeys()
const std::string land(const std::string &objkey, std::exception_ptr &teptr, const bool for_detection)
void vacuum(const std::string &objkey)
size_t get_total_file_size() const

Private Members

std::string s3_access_key
std::string s3_secret_key
std::string s3_session_token
std::string s3_region
std::string s3_endpoint
std::string s3_temp_dir
std::string bucket_name
std::string prefix_name
std::optional<std::string> regex_path_filter
std::optional<std::string> file_sort_order_by
std::optional<std::string> file_sort_regex
std::vector<std::string> objkeys
std::map<const std::string, const std::string> file_paths
size_t total_file_size = {0}