public static class GroupingOptions.Builder extends Object
GroupingOptions
instances.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GroupingOptions |
build() |
GroupingOptions.Builder |
conf(String confKey,
String confValue) |
GroupingOptions.Builder |
groupingComparatorClass(Class<? extends org.apache.hadoop.io.RawComparator> groupingComparatorClass) |
GroupingOptions.Builder |
numReducers(int numReducers) |
GroupingOptions.Builder |
partitionerClass(Class<? extends org.apache.hadoop.mapreduce.Partitioner> partitionerClass) |
GroupingOptions.Builder |
requireSortedKeys() |
GroupingOptions.Builder |
sortComparatorClass(Class<? extends org.apache.hadoop.io.RawComparator> sortComparatorClass) |
GroupingOptions.Builder |
sourceTarget(SourceTarget<?> st)
Deprecated.
|
GroupingOptions.Builder |
sourceTargets(Collection<SourceTarget<?>> st) |
GroupingOptions.Builder |
sourceTargets(SourceTarget<?>... st) |
public GroupingOptions.Builder partitionerClass(Class<? extends org.apache.hadoop.mapreduce.Partitioner> partitionerClass)
public GroupingOptions.Builder groupingComparatorClass(Class<? extends org.apache.hadoop.io.RawComparator> groupingComparatorClass)
public GroupingOptions.Builder sortComparatorClass(Class<? extends org.apache.hadoop.io.RawComparator> sortComparatorClass)
public GroupingOptions.Builder requireSortedKeys()
public GroupingOptions.Builder numReducers(int numReducers)
public GroupingOptions.Builder conf(String confKey, String confValue)
@Deprecated public GroupingOptions.Builder sourceTarget(SourceTarget<?> st)
public GroupingOptions.Builder sourceTargets(SourceTarget<?>... st)
public GroupingOptions.Builder sourceTargets(Collection<SourceTarget<?>> st)
public GroupingOptions build()
Copyright © 2016 The Apache Software Foundation. All rights reserved.