Module: Wukong::Hadoop::InputsAndOutputs
- Included in:
- Driver
- Defined in:
- lib/wukong-hadoop/driver/inputs_and_outputs.rb
Overview
Provides methods for determining input and output paths. Written as a separate module to allow easy overriding from other plugins.
Instance Method Summary collapse
-
#input_paths ⇒ String
The input paths to read from.
-
#output_path ⇒ String
The output path to write to.
Instance Method Details
#input_paths ⇒ String
The input paths to read from.
12 13 14 |
# File 'lib/wukong-hadoop/driver/inputs_and_outputs.rb', line 12 def input_paths (settings[:input] || []) end |
#output_path ⇒ String
The output path to write to.
19 20 21 |
# File 'lib/wukong-hadoop/driver/inputs_and_outputs.rb', line 19 def output_path settings[:output] end |