def set_input_jobs(input_jobs)
      segment_count = 0
      input_paths = []

      input_jobs.each do |job_name|
        input_job = Job.where(:job_name => job_name,
                              :type => 'Elasticrawl::ParseJob').first_or_initialize
        step_count = input_job.job_steps.count

        if step_count > 0
          segment_count += step_count
          input_paths << set_input_path(input_job)
        end
      end

      self.job_name = set_job_name
      self.job_desc = set_job_desc(segment_count)
      job_steps.push(create_job_step(input_paths.join(',')))
    end
def set_input_jobs(input_jobs)
      segment_count = 0
      input_paths = []

      input_jobs.each do |job_name|
        input_job = Job.where(:job_name => job_name,
                              :type => 'Elasticrawl::ParseJob').first_or_initialize
        step_count = input_job.job_steps.count

        if step_count > 0
          segment_count += step_count
          input_paths << set_input_path(input_job)
        end
      end

      self.job_name = set_job_name
      self.job_desc = set_job_desc(segment_count)
      job_steps.push(create_job_step(input_paths.join(',')))
    end
Takes in an array of parse jobs that are to be combined. Creates a single
 job step whose input paths are the outputs of the parse jobs.