@Override public Extractor<JsonArray, JsonElement> getExtractor(WorkUnitState state) throws IOException { Extractor<JsonArray, JsonElement> extractor = null; try { extractor = new MysqlExtractor(state).build(); } catch (ExtractPrepareException e) { LOG.error("Failed to prepare extractor: error - " + e.getMessage()); throw new IOException(e); } return extractor; }
throw new ExtractPrepareException("Failed to get schema for this object; error - " + e.getMessage(), e); } catch (HighWatermarkException e) { throw new ExtractPrepareException("Failed to get high watermark; error - " + e.getMessage(), e); } catch (RecordCountException e) { throw new ExtractPrepareException("Failed to get record count; error - " + e.getMessage(), e); } catch (Exception e) { throw new ExtractPrepareException("Failed to prepare the extract build; error - " + e.getMessage(), e);
throw new ExtractPrepareException("Failed to get schema for this object; error - " + e.getMessage(), e); } catch (HighWatermarkException e) { throw new ExtractPrepareException("Failed to get high watermark; error - " + e.getMessage(), e); } catch (RecordCountException e) { throw new ExtractPrepareException("Failed to get record count; error - " + e.getMessage(), e); } catch (Exception e) { throw new ExtractPrepareException("Failed to prepare the extract build; error - " + e.getMessage(), e);
public Extractor<JsonArray, JsonElement> getExtractor(WorkUnitState state) throws IOException { Extractor<JsonArray, JsonElement> extractor = null; try { extractor = new TeradataExtractor(state).build(); } catch (ExtractPrepareException e) { log.error("Failed to prepare extractor: error - {}", e.getMessage()); throw new IOException(e); } return extractor; } }
@Override public Extractor<JsonArray, JsonElement> getExtractor(WorkUnitState state) throws IOException { Extractor<JsonArray, JsonElement> extractor = null; try { extractor = new SqlServerExtractor(state).build(); } catch (ExtractPrepareException e) { LOG.error("Failed to prepare extractor: error - " + e.getMessage()); throw new IOException(e); } return extractor; } }
@Override public Extractor<JsonArray, JsonElement> getExtractor(WorkUnitState state) throws IOException { Extractor<JsonArray, JsonElement> extractor = null; try { extractor = new OracleExtractor(state).build(); } catch (ExtractPrepareException e) { LOG.error("Failed to prepare extractor: error - " + e.getMessage()); throw new IOException(e); } return extractor; } }
@Override public Extractor<JsonArray, JsonElement> getExtractor(WorkUnitState state) throws IOException { Extractor<JsonArray, JsonElement> extractor; try { extractor = new PostgresqlExtractor(state).build(); } catch (ExtractPrepareException e) { LOG.error("Failed to prepare extractor: error - " + e.getMessage()); throw new IOException(e); } return extractor; } }
@Override public Extractor<JsonArray, JsonElement> getExtractor(WorkUnitState state) throws IOException { Extractor<JsonArray, JsonElement> extractor = null; try { extractor = new SqlServerExtractor(state).build(); } catch (ExtractPrepareException e) { LOG.error("Failed to prepare extractor: error - " + e.getMessage()); throw new IOException(e); } return extractor; } }
public Extractor<JsonArray, JsonElement> getExtractor(WorkUnitState state) throws IOException { Extractor<JsonArray, JsonElement> extractor = null; try { extractor = new TeradataExtractor(state).build(); } catch (ExtractPrepareException e) { log.error("Failed to prepare extractor: error - {}", e.getMessage()); throw new IOException(e); } return extractor; } }
@Override public Extractor<JsonArray, JsonElement> getExtractor(WorkUnitState state) throws IOException { Extractor<JsonArray, JsonElement> extractor = null; try { extractor = new MysqlExtractor(state).build(); } catch (ExtractPrepareException e) { LOG.error("Failed to prepare extractor: error - " + e.getMessage()); throw new IOException(e); } return extractor; }
@Override public Extractor<JsonArray, JsonElement> getExtractor(WorkUnitState state) throws IOException { Extractor<JsonArray, JsonElement> extractor = null; try { extractor = new OracleExtractor(state).build(); } catch (ExtractPrepareException e) { LOG.error("Failed to prepare extractor: error - " + e.getMessage()); throw new IOException(e); } return extractor; } }
@Override public Extractor<JsonArray, JsonElement> getExtractor(WorkUnitState state) throws IOException { Extractor<JsonArray, JsonElement> extractor; try { extractor = new PostgresqlExtractor(state).build(); } catch (ExtractPrepareException e) { LOG.error("Failed to prepare extractor: error - " + e.getMessage()); throw new IOException(e); } return extractor; } }