protected abstract static class ArrayOutputFormat.AbstractConfigBuilder<T> extends FileOutputFormat.AbstractConfigBuilder<T>
config| Modifier | Constructor and Description |
|---|---|
protected |
ArrayOutputFormat.AbstractConfigBuilder(Configuration config)
Creates a new builder for the given configuration.
|
| Modifier and Type | Method and Description |
|---|---|
T |
encoding(String charsetName)
Sets the charset that will be used to encode the strings binary.
|
T |
fieldDelimiter(char delimiter)
Sets the delimiter that delimits the individual fields in the records textual output representation.
|
T |
lenient(boolean lenient)
Sets the leniency for the serializer.
|
T |
recordDelimiter(char delimiter)
Sets the delimiter to be a single character, namely the given one.
|
T |
recordDelimiter(String delimiter)
Sets the delimiter to be the given string.
|
openingTimeoutprotected ArrayOutputFormat.AbstractConfigBuilder(Configuration config)
targetConfig - The configuration into which the parameters will be written.public T recordDelimiter(char delimiter)
0 to 127.delimiter - The delimiter character.public T recordDelimiter(String delimiter)
delimiter - The delimiter string.public T encoding(String charsetName)
charsetName - The name of the encoding character set.public T fieldDelimiter(char delimiter)
delimiter - The character to be used as a field delimiter.public T lenient(boolean lenient)
lenient - True, if the serializer should be lenient, false otherwise.Copyright © 2013–2014. All rights reserved.