#pragma once #include #if USE_AZURE_BLOB_STORAGE #include #include #include #include #include namespace DB { class WriteBufferFromAzureBlobStorage : public BufferWithOwnMemory { public: explicit WriteBufferFromAzureBlobStorage( std::shared_ptr blob_container_client_, const String & blob_path_, size_t max_single_part_upload_size_, size_t buf_size_); ~WriteBufferFromAzureBlobStorage() override; void nextImpl() override; private: void finalizeImpl() override; std::shared_ptr blob_container_client; size_t max_single_part_upload_size; const String blob_path; }; } #endif