Package org.apache.flink.hadoopcompatibility.mapred.wrapper

Examples of org.apache.flink.hadoopcompatibility.mapred.wrapper.HadoopInputSplit


  public HadoopInputSplit[] createInputSplits(int minNumSplits)
      throws IOException {
    org.apache.hadoop.mapred.InputSplit[] splitArray = hadoopInputFormat.getSplits(jobConf, minNumSplits);
    HadoopInputSplit[] hiSplit = new HadoopInputSplit[splitArray.length];
    for(int i=0;i<splitArray.length;i++){
      hiSplit[i] = new HadoopInputSplit(splitArray[i], jobConf);
    }
    return hiSplit;
  }
View Full Code Here


  public HadoopInputSplit[] createInputSplits(int minNumSplits)
      throws IOException {
    org.apache.hadoop.mapred.InputSplit[] splitArray = mapredInputFormat.getSplits(jobConf, minNumSplits);
    HadoopInputSplit[] hiSplit = new HadoopInputSplit[splitArray.length];
    for(int i=0;i<splitArray.length;i++){
      hiSplit[i] = new HadoopInputSplit(splitArray[i], jobConf);
    }
    return hiSplit;
  }
View Full Code Here

TOP

Related Classes of org.apache.flink.hadoopcompatibility.mapred.wrapper.HadoopInputSplit

Copyright © 2018 www.massapicom. 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.