OmniSciDB  04ee39c94c
S3ParquetArchive Class Reference

#include <S3Archive.h>

+ Inheritance diagram for S3ParquetArchive:
+ Collaboration diagram for S3ParquetArchive:

Public Member Functions

 S3ParquetArchive (const std::string &url, const std::string &s3_access_key, const std::string &s3_secret_key, const std::string &s3_region, const std::string &s3_endpoint, const bool plain_text)
 
- Public Member Functions inherited from S3Archive
 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_region, const std::string &s3_endpoint, const bool plain_text)
 
 ~S3Archive () override
 
void init_for_read () override
 
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
 
- Public Member Functions inherited from Archive
 Archive (const std::string url, const bool plain_text)
 
virtual ~Archive ()
 
virtual std::string archive_error (int err)
 
virtual bool read_next_header ()
 
virtual bool read_data_block (const void **buff, size_t *size, int64_t *offset)
 
virtual int64_t get_position_compressed () const
 
virtual int open ()
 
virtual int close ()
 
virtual ssize_t read (const void **buff)
 
const std::string url_part (const int i)
 

Additional Inherited Members

- Static Public Member Functions inherited from Archive
static ssize_t read (struct archive *a, void *client_data, const void **buff)
 
static int open (struct archive *a, void *client_data)
 
static int close (struct archive *a, void *client_data)
 
static void parse_url (const std::string url, std::map< int, std::string > &url_parts)
 
- Protected Attributes inherited from Archive
std::string url
 
std::map< int, std::string > url_parts
 
archive * ar = 0
 
bool plain_text
 

Detailed Description

Definition at line 143 of file S3Archive.h.

Constructor & Destructor Documentation

◆ S3ParquetArchive()

S3ParquetArchive::S3ParquetArchive ( const std::string &  url,
const std::string &  s3_access_key,
const std::string &  s3_secret_key,
const std::string &  s3_region,
const std::string &  s3_endpoint,
const bool  plain_text 
)
inline

Definition at line 145 of file S3Archive.h.

152  }
std::string s3_endpoint
Definition: S3Archive.h:133
std::string s3_region
Definition: S3Archive.h:132
std::string s3_access_key
Definition: S3Archive.h:130
std::string url
Definition: Archive.h:186
std::string s3_secret_key
Definition: S3Archive.h:131
S3Archive(const std::string &url, const bool plain_text)
Definition: S3Archive.h:40
bool plain_text
Definition: Archive.h:189

The documentation for this class was generated from the following file: