protected abstract static class TokenOutputFormat.AbstractConfigBuilder<T> extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected eu.stratosphere.configuration.Configuration |
config
The configuration into which the parameters will be written.
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractConfigBuilder(eu.stratosphere.configuration.Configuration targetConfig)
Creates a new builder for the given configuration.
|
Modifier and Type | Method and Description |
---|---|
T |
field(java.lang.Class<? extends eu.stratosphere.types.Value> type,
int recordPosition)
Adds a field of the record to be serialized to the output.
|
protected final eu.stratosphere.configuration.Configuration config
protected AbstractConfigBuilder(eu.stratosphere.configuration.Configuration targetConfig)
targetConfig
- The configuration into which the parameters will be written.public T field(java.lang.Class<? extends eu.stratosphere.types.Value> type, int recordPosition)
Object.toString()
method
will be invoked to create a textual representation.type
- The type of the field.recordPosition
- The position in the record.