#include <hadoop.hpp>
|
static const char | NAME [] |
|
mesos::uri::HadoopFetcherPlugin::~HadoopFetcherPlugin |
( |
| ) |
|
|
inlineoverride |
process::Future<Nothing> mesos::uri::HadoopFetcherPlugin::fetch |
( |
const URI & |
uri, |
|
|
const std::string & |
directory, |
|
|
const Option< std::string > & |
data = None() , |
|
|
const Option< std::string > & |
outputFileName = None() |
|
) |
| const |
|
overridevirtual |
Fetches a URI to the given directory.
To avoid blocking or crashing the current thread, this method might choose to fork subprocesses for third party commands.
- Parameters
-
uri | the URI to fetch |
directory | the directory the URI will be downloaded to |
data | the optional user defined data |
outputFileName | the optional output file name |
Implements mesos::uri::Fetcher::Plugin.
std::string mesos::uri::HadoopFetcherPlugin::name |
( |
| ) |
const |
|
overridevirtual |
std::set<std::string> mesos::uri::HadoopFetcherPlugin::schemes |
( |
| ) |
const |
|
overridevirtual |
const char mesos::uri::HadoopFetcherPlugin::NAME[] |
|
static |
The documentation for this class was generated from the following file: