protected abstract static class DelimitedOutputFormat.AbstractConfigBuilder<T> extends FileOutputFormat.AbstractConfigBuilder<T>
config| Modifier | Constructor and Description |
|---|---|
protected |
DelimitedOutputFormat.AbstractConfigBuilder(Configuration config)
Creates a new builder for the given configuration.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
T |
recordDelimiter(String delimiter,
String charsetName)
Sets the delimiter to be the given string.
|
T |
writeBufferSize(int sizeInBytes)
Sets the size of the write buffer.
|
protected DelimitedOutputFormat.AbstractConfigBuilder(Configuration config)
config - 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 recordDelimiter(String delimiter, String charsetName)
delimiter - The delimiter string.charsetName - The name of the encoding character set.public T writeBufferSize(int sizeInBytes)
sizeInBytes - The size of the write buffer in bytes.Copyright © 2015 The Apache Software Foundation. All rights reserved.