Thrill  0.1
hdfs3_file.hpp
Go to the documentation of this file.
1 /*******************************************************************************
2  * thrill/vfs/hdfs3_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_HDFS3_FILE_HEADER
13 #define THRILL_VFS_HDFS3_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 Hdfs3Initialize();
25 void Hdfs3Deinitialize();
26 
27 /******************************************************************************/
28 
29 void Hdfs3Glob(
30  const std::string& path, const GlobType& gtype, FileList& filelist);
31 
33  const std::string& path, const common::Range& range = common::Range());
34 
36  const std::string& path);
37 
38 } // namespace vfs
39 } // namespace thrill
40 
41 #endif // !THRILL_VFS_HDFS3_FILE_HEADER
42 
43 /******************************************************************************/
WriteStreamPtr Hdfs3OpenWriteStream(const std::string &)
Definition: hdfs3_file.cpp:308
tlx::CountingPtr< WriteStream > WriteStreamPtr
Definition: file_io.hpp:146
GlobType
Type of objects to include in glob result.
Definition: file_io.hpp:99
void Hdfs3Initialize()
Definition: hdfs3_file.cpp:292
void Hdfs3Deinitialize()
Definition: hdfs3_file.cpp:295
ReadStreamPtr Hdfs3OpenReadStream(const std::string &, const common::Range &)
Definition: hdfs3_file.cpp:303
std::basic_string< char, std::char_traits< char >, Allocator< char > > string
string with Manager tracking
Definition: allocator.hpp:220
tlx::CountingPtr< ReadStream > ReadStreamPtr
Definition: file_io.hpp:145
void Hdfs3Glob(const std::string &, const GlobType &, FileList &)
Definition: hdfs3_file.cpp:298