@InterfaceAudience.Private
public static interface UnorderedKVInputConfig.SpecificConfigBuilder<T>
Modifier and Type | Method and Description |
---|---|
T |
setAdditionalConfiguration(Map<String,String> confMap)
Used to set additional configuration parameters which are not set via API methods.
|
T |
setAdditionalConfiguration(String key,
String value)
Used to set additional configuration parameters which are not set via API methods.
|
T |
setFromConfiguration(org.apache.hadoop.conf.Configuration conf)
Used to build out a configuration from an existing Hadoop
Configuration . |
T |
setMaxSingleMemorySegmentFraction(float maxSingleSegmentFraction)
Sets a size limit on the maximum segment size to be shuffled to disk.
|
T |
setMergeFraction(float mergeFraction)
Configure the point at which in memory segments will be merged and written out to a single
large disk segment.
|
T |
setShuffleBufferFraction(float shuffleBufferFraction)
Sets the buffer fraction, as a fraction of container size, to be used while fetching remote
data.
|
T setShuffleBufferFraction(float shuffleBufferFraction)
shuffleBufferFraction
- fraction of container sizeT setMaxSingleMemorySegmentFraction(float maxSingleSegmentFraction)
maxSingleSegmentFraction
- fraction of memory determined by ShuffleBufferFractionT setMergeFraction(float mergeFraction)
mergeFraction
- fraction of memory determined by ShuffleBufferFraction, which when
filled, will
trigger a mergeT setAdditionalConfiguration(String key, String value)
key
- the key to setvalue
- the corresponding valueT setAdditionalConfiguration(Map<String,String> confMap)
confMap
- map of configuration key-value pairs@InterfaceAudience.LimitedPrivate(value="hive, pig") T setFromConfiguration(org.apache.hadoop.conf.Configuration conf)
Configuration
. This is a private API is present only for
compatibility and ease of use for existing systems which rely heavily on Configuration.conf
- Copyright © 2016 Apache Software Foundation. All rights reserved.