Package org.apache.sqoop.manager.oracle.OraOopOutputFormatUpdate

Examples of org.apache.sqoop.manager.oracle.OraOopOutputFormatUpdate.UpdateMode


        // asking to only UPDATE rows in a (about to be created) (empty) table
        // that contains no rows.
        // This will be a waste of time, as we'd be attempting to perform UPDATE
        // operations against a
        // table with no rows in it...
        UpdateMode updateMode = OraOopUtilities.getExportUpdateMode(conf);
        if (updateMode == UpdateMode.Update) {
          throw new RuntimeException(String.format(
              "\n\nCombining the option \"%s\" with the option \"%s=false\" is "
            + "nonsensical, as this would create an "
            + "empty table and then perform "
View Full Code Here


    // throw new
    // RuntimeException(String.format("This job is not an update-export. "+
    // "i.e. %s has not been specified."
    // ,ExportJobBase.SQOOP_EXPORT_UPDATE_COL_KEY));

    UpdateMode updateMode = UpdateMode.Update;

    boolean mergeData =
        conf.getBoolean(OraOopConstants.ORAOOP_EXPORT_MERGE, false);
    if (mergeData) {
      updateMode = UpdateMode.Merge;
View Full Code Here

TOP

Related Classes of org.apache.sqoop.manager.oracle.OraOopOutputFormatUpdate.UpdateMode

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.