T - The actual builder typepublic abstract static class ETLConfig.Builder<T extends ETLConfig.Builder> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Resources |
clientResources |
protected Set<Connection> |
connections |
protected Resources |
driverResources |
protected int |
numOfRecordsPreview |
protected boolean |
processTimingEnabled |
protected Map<String,String> |
properties |
protected Resources |
resources |
protected boolean |
stageLoggingEnabled |
protected Set<ETLStage> |
stages |
| Modifier | Constructor and Description |
|---|---|
protected |
ETLConfig.Builder() |
| Modifier and Type | Method and Description |
|---|---|
T |
addConnection(Connection connection) |
T |
addConnection(String from,
String to) |
T |
addConnection(String from,
String to,
Boolean condition) |
T |
addConnection(String from,
String to,
String port) |
T |
addConnections(Collection<Connection> connections) |
T |
addStage(ETLStage stage) |
T |
disableProcessTiming() |
T |
disableStageLogging() |
T |
setClientResources(Resources resources) |
T |
setDriverResources(Resources resources) |
T |
setNumOfRecordsPreview(int numOfRecordsPreview) |
T |
setProperties(Map<String,String> properties) |
T |
setResources(Resources resources) |
protected Set<Connection> connections
protected Resources resources
protected Resources driverResources
protected Resources clientResources
protected boolean stageLoggingEnabled
protected boolean processTimingEnabled
protected int numOfRecordsPreview
public T addConnection(Connection connection)
public T addConnections(Collection<Connection> connections)
public T setNumOfRecordsPreview(int numOfRecordsPreview)
public T disableStageLogging()
public T disableProcessTiming()
Copyright © 2017 Cask Data, Inc. Licensed under the Apache License, Version 2.0.