Package org.apache.hadoop.ruby.mapred

Source Code of org.apache.hadoop.ruby.mapred.JRubyMapRed

package org.apache.hadoop.ruby.mapred;

import java.io.IOException;

import org.apache.hadoop.mapred.JobConf;
import org.apache.hadoop.ruby.JRubyEvaluator;

public class JRubyMapRed {

  private JRubyEvaluator evaluator;

  public JRubyMapRed() {
  }

  public JRubyEvaluator getJRubyEvaluator() {
    return this.evaluator;
  }

  public void configure(JobConf job) {
    evaluator = new JRubyEvaluator(job);
  }

  public void close() throws IOException {
    // Do nothing
  }
}
TOP

Related Classes of org.apache.hadoop.ruby.mapred.JRubyMapRed

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.