Sha256: 4a21c858e13c4939376756edae40647db8ac1142cf72ecd127626351fdb65887

Contents?: true

Size: 707 Bytes

Versions: 3

Compression:

Stored size: 707 Bytes

Contents

module Wukong
  module Hadoop

    # A separate module to allow easy overriding from other plugins.
    module Overwritables

      # The input paths to read from.
      #
      # @return [String]
      def input_paths
        (settings[:input] || [])
      end

      # The output path to write to.
      #
      # @return [String]
      def output_path
        settings[:output]
      end

      # Returns the parameters to pass to invocations of `wu-local`.
      #
      # This is separated out as a separate method so that it can
      # easily be overriden by other plugins.
      #
      # @return [Configliere::Param]
      def params_to_pass
        settings
      end
      
    end
  end
end

  

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wukong-hadoop-0.2.0 lib/wukong-hadoop/runner/overwritables.rb
wukong-hadoop-0.1.1 lib/wukong-hadoop/runner/overwritables.rb
wukong-hadoop-0.1.0 lib/wukong-hadoop/runner/overwritables.rb