Thrill  0.1
s3_file.hpp
Go to the documentation of this file.
1 /*******************************************************************************
2  * thrill/vfs/s3_file.hpp
3  *
4  * Part of Project Thrill - http://project-thrill.org
5  *
6  * Copyright (C) 2016 Timo Bingmann <[email protected]>
7  *
8  * All rights reserved. Published under the BSD-2 license in the LICENSE file.
9  ******************************************************************************/
10 
11 #pragma once
12 #ifndef THRILL_VFS_S3_FILE_HEADER
13 #define THRILL_VFS_S3_FILE_HEADER
14 
15 #include <thrill/vfs/file_io.hpp>
16 
17 #include <string>
18 
19 namespace thrill {
20 namespace vfs {
21 
22 /******************************************************************************/
23 
24 void S3Initialize();
25 void S3Deinitialize();
26 
27 /******************************************************************************/
28 
29 void S3Glob(const std::string& path, const GlobType& gtype, FileList& filelist);
30 
32  const std::string& path, const common::Range& range = common::Range());
33 
35  const std::string& path);
36 
37 } // namespace vfs
38 } // namespace thrill
39 
40 #endif // !THRILL_VFS_S3_FILE_HEADER
41 
42 /******************************************************************************/
tlx::CountingPtr< WriteStream > WriteStreamPtr
Definition: file_io.hpp:146
GlobType
Type of objects to include in glob result.
Definition: file_io.hpp:99
void S3Deinitialize()
Definition: s3_file.cpp:734
void S3Glob(const std::string &, const GlobType &, FileList &)
Definition: s3_file.cpp:737
ReadStreamPtr S3OpenReadStream(const std::string &, const common::Range &)
Definition: s3_file.cpp:742
std::basic_string< char, std::char_traits< char >, Allocator< char > > string
string with Manager tracking
Definition: allocator.hpp:220
WriteStreamPtr S3OpenWriteStream(const std::string &)
Definition: s3_file.cpp:747
void S3Initialize()
Definition: s3_file.cpp:731
tlx::CountingPtr< ReadStream > ReadStreamPtr
Definition: file_io.hpp:145