protected abstract static class JDBCOutputFormat.AbstractConfigBuilder<T> extends FileOutputFormat.AbstractConfigBuilder<T>
config| Modifier | Constructor and Description |
|---|---|
protected |
AbstractConfigBuilder(Configuration config)
Creates a new builder for the given configuration.
|
| Modifier and Type | Method and Description |
|---|---|
T |
setClass(Class<? extends Value> type)
Sets the type of a column.
|
T |
setDriver(String value)
Sets the driver field.
|
T |
setPassword(String value)
Sets the password field.
|
T |
setQuery(String value)
Sets the query field.
|
T |
setUrl(String value)
Sets the url field.
|
T |
setUsername(String value)
Sets the username field.
|
protected AbstractConfigBuilder(Configuration config)
config - The configuration into which the parameters will be written.public T setQuery(String value)
value - value to be set.public T setUrl(String value)
value - value to be set.public T setUsername(String value)
value - value to be set.public T setPassword(String value)
value - value to be set.public T setDriver(String value)
value - value to be set.Copyright © 2015 The Apache Software Foundation. All rights reserved.