com.cloudera.crunch
Class GroupingOptions
java.lang.Object
com.cloudera.crunch.GroupingOptions
public class GroupingOptions
- extends Object
Options that can be passed to a groupByKey
operation in order to exercise
finer control over how the partitioning, grouping, and sorting of keys is
performed.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getNumReducers
public int getNumReducers()
getSortComparatorClass
public Class<? extends org.apache.hadoop.io.RawComparator> getSortComparatorClass()
configure
public void configure(org.apache.hadoop.mapreduce.Job job)
isCompatibleWith
public boolean isCompatibleWith(GroupingOptions other)
builder
public static GroupingOptions.Builder builder()
Copyright © 2012. All Rights Reserved.