2021-09-29 14:44:53 +00:00
|
|
|
#if !defined(ARCADIA_BUILD)
|
|
|
|
#include <Common/config.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if USE_AZURE_BLOB_STORAGE
|
|
|
|
|
|
|
|
#include <IO/WriteBufferFromBlobStorage.h>
|
|
|
|
|
2021-10-01 08:32:28 +00:00
|
|
|
|
2021-09-29 14:44:53 +00:00
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
2021-10-01 08:32:28 +00:00
|
|
|
WriteBufferFromBlobStorage::WriteBufferFromBlobStorage(
|
|
|
|
Azure::Storage::Blobs::BlobContainerClient blob_container_client_,
|
|
|
|
const String & blob_path_,
|
|
|
|
size_t buf_size_) :
|
|
|
|
blob_container_client(blob_container_client_),
|
|
|
|
blob_path(blob_path_),
|
|
|
|
buf_size(buf_size_) {}
|
|
|
|
|
|
|
|
|
2021-09-29 14:44:53 +00:00
|
|
|
void WriteBufferFromBlobStorage::nextImpl() {
|
2021-10-01 08:32:28 +00:00
|
|
|
std::cout << "buf_size: " << buf_size << "\n";
|
|
|
|
// std::cout << "WriteBufferFromBlobStorage:nextImpl\n\n\n";
|
2021-09-29 14:44:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|