|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.crunch.GroupingOptions.Builder
public static class GroupingOptions.Builder
Builder class for creating GroupingOptions
instances.
Constructor Summary | |
---|---|
GroupingOptions.Builder()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroupingOptions.Builder()
Method Detail |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |