@InterfaceAudience.Public @InterfaceStability.Evolving public static class UnorderedKVOutputConfig.Builder extends Object implements org.apache.tez.runtime.library.conf.UnorderedKVOutputConfig.SpecificConfigBuilder<UnorderedKVOutputConfig.Builder>
Modifier and Type | Method and Description |
---|---|
UnorderedKVOutputConfig |
build()
Create the actual configuration instance.
|
UnorderedKVOutputConfig.Builder |
setAdditionalConfiguration(Map<String,String> confMap)
Used to set additional configuration parameters which are not set via API methods.
|
UnorderedKVOutputConfig.Builder |
setAdditionalConfiguration(String key,
String value)
Used to set additional configuration parameters which are not set via API methods.
|
UnorderedKVOutputConfig.Builder |
setCompression(boolean enabled,
String compressionCodec,
Map<String,String> codecConf) |
UnorderedKVOutputConfig.Builder |
setFromConfiguration(org.apache.hadoop.conf.Configuration conf) |
UnorderedKVOutputConfig.Builder |
setFromConfigurationUnfiltered(org.apache.hadoop.conf.Configuration conf) |
UnorderedKVOutputConfig.Builder |
setKeySerializationClass(String serializationClassName,
Map<String,String> serializerConf)
Set serialization class responsible for providing serializer/deserializer for keys.
|
UnorderedKVOutputConfig.Builder |
setValueSerializationClass(String serializationClassName,
Map<String,String> serializerConf)
Set serialization class responsible for providing serializer/deserializer for values.
|
public UnorderedKVOutputConfig.Builder setAdditionalConfiguration(String key, String value)
key
- the key to setvalue
- the corresponding valuepublic UnorderedKVOutputConfig.Builder setAdditionalConfiguration(Map<String,String> confMap)
confMap
- map of configuration key-value pairspublic UnorderedKVOutputConfig.Builder setFromConfiguration(org.apache.hadoop.conf.Configuration conf)
public UnorderedKVOutputConfig.Builder setFromConfigurationUnfiltered(org.apache.hadoop.conf.Configuration conf)
public UnorderedKVOutputConfig.Builder setKeySerializationClass(String serializationClassName, @Nullable Map<String,String> serializerConf)
serializationClassName
- serializerConf
- the serializer configuration. This can be null, and is a
Map
of key-value pairs. The keys should be limited
to the ones required by the comparator.public UnorderedKVOutputConfig.Builder setValueSerializationClass(String serializationClassName, @Nullable Map<String,String> serializerConf)
serializationClassName
- serializerConf
- the serializer configuration. This can be null, and is a
Map
of key-value pairs. The keys should be limited
to the ones required by the comparator.public UnorderedKVOutputConfig.Builder setCompression(boolean enabled, @Nullable String compressionCodec, @Nullable Map<String,String> codecConf)
public UnorderedKVOutputConfig build()
Copyright © 2024 Apache Software Foundation. All rights reserved.