protected static class DelimitedInputFormat.AbstractConfigBuilder<T> extends FileInputFormat.AbstractConfigBuilder<T>
config| Modifier | Constructor and Description |
|---|---|
protected |
DelimitedInputFormat.AbstractConfigBuilder(Configuration config)
Creates a new builder for the given configuration.
|
| Modifier and Type | Method and Description |
|---|---|
T |
numSamplesForStatistics(int numSamples)
Sets the number of line samples to take in order to estimate the base statistics for the
input format.
|
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.
|
filePathprotected DelimitedInputFormat.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 numSamplesForStatistics(int numSamples)
numSamples - The number of line samples to take.Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.