throws IOException, ExportException {
options = context.getOptions();
context.setConnManager(this);
checkTable(); // Throws excpetion as necessary
NetezzaExternalTableExportJob exporter = null;
char qc = (char) options.getInputEnclosedBy();
char ec = (char) options.getInputEscapedBy();
checkNullValueStrings(options.getInNullStringValue(),
options.getInNullNonStringValue());
if (qc > 0 && !(qc == '"' || qc == '\'')) {
throw new ExportException("Input enclosed-by character must be '\"' "
+ "or ''' for netezza direct mode exports");
}
if (ec > 0 && ec != '\\') {
throw new ExportException("Input escaped-by character must be '\\' "
+ "for netezza direct mode exports");
}
exporter = new NetezzaExternalTableExportJob(context);
exporter.runExport();
}