This project has retired. For details please refer to its
Attic page.
GroupingOptions.Builder (Apache Crunch 0.9.0 API)
org.apache.crunch
Class GroupingOptions.Builder
java.lang.Object
org.apache.crunch.GroupingOptions.Builder
- Enclosing class:
- GroupingOptions
public static class GroupingOptions.Builder
- extends Object
Builder class for creating GroupingOptions
instances.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupingOptions.Builder
public GroupingOptions.Builder()
partitionerClass
public GroupingOptions.Builder partitionerClass(Class<? extends org.apache.hadoop.mapreduce.Partitioner> partitionerClass)
groupingComparatorClass
public GroupingOptions.Builder groupingComparatorClass(Class<? extends org.apache.hadoop.io.RawComparator> groupingComparatorClass)
sortComparatorClass
public GroupingOptions.Builder sortComparatorClass(Class<? extends org.apache.hadoop.io.RawComparator> sortComparatorClass)
requireSortedKeys
public GroupingOptions.Builder requireSortedKeys()
numReducers
public GroupingOptions.Builder numReducers(int numReducers)
conf
public GroupingOptions.Builder conf(String confKey,
String confValue)
sourceTarget
@Deprecated
public GroupingOptions.Builder sourceTarget(SourceTarget<?> st)
- Deprecated.
sourceTargets
public GroupingOptions.Builder sourceTargets(SourceTarget<?>... st)
sourceTargets
public GroupingOptions.Builder sourceTargets(Collection<SourceTarget<?>> st)
build
public GroupingOptions build()
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.