@InterfaceAudience.Public @InterfaceStability.Evolving public static class UnorderedPartitionedKVEdgeConfig.Builder extends org.apache.tez.runtime.library.conf.HadoopKeyValuesBasedBaseEdgeConfig.Builder<UnorderedPartitionedKVEdgeConfig.Builder>
public UnorderedPartitionedKVEdgeConfig.Builder setCompression(boolean enabled, @Nullable String compressionCodec, @Nullable Map<String,String> codecConf)
org.apache.tez.runtime.library.conf.HadoopKeyValuesBasedBaseEdgeConfig.Builder
setCompression
in class org.apache.tez.runtime.library.conf.HadoopKeyValuesBasedBaseEdgeConfig.Builder<UnorderedPartitionedKVEdgeConfig.Builder>
enabled
- whether to enable compression or notcompressionCodec
- the codec to be used if compression is enabled. null implies using
the defaultcodecConf
- the codec 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 UnorderedPartitionedKVEdgeConfig.Builder setAdditionalConfiguration(String key, String value)
public UnorderedPartitionedKVEdgeConfig.Builder setAdditionalConfiguration(Map<String,String> confMap)
public UnorderedPartitionedKVEdgeConfig.Builder setFromConfiguration(org.apache.hadoop.conf.Configuration conf)
public UnorderedPartitionedKVEdgeConfig.Builder setFromConfigurationUnfiltered(org.apache.hadoop.conf.Configuration conf)
public UnorderedPartitionedKVEdgeConfig.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 UnorderedPartitionedKVEdgeConfig.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 UnorderedPartitionedKVOutputConfig.SpecificBuilder<UnorderedPartitionedKVEdgeConfig.Builder> configureOutput()
public UnorderedKVInputConfig.SpecificBuilder<UnorderedPartitionedKVEdgeConfig.Builder> configureInput()
public UnorderedPartitionedKVEdgeConfig build()
Copyright © 2024 Apache Software Foundation. All rights reserved.