Package org.apache.sqoop.mapreduce

Examples of org.apache.sqoop.mapreduce.ImportJobBase.runImport()


      // Import to HDFS.
      importer = new MainframeImportJob(opts, context);
    }

    importer.setInputFormatClass(MainframeDatasetInputFormat.class);
    importer.runImport(pdsName, jarFile, null, opts.getConf());
  }

  @Override
  public String[] getColumnNames(String tableName) {
    // default is one column for the whole record
View Full Code Here

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.