|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.crunch.DoFn<S,T> org.apache.crunch.MapFn<V,K> org.apache.crunch.lib.sort.SortFns.TupleKeyFn<V,K>
public static class SortFns.TupleKeyFn<V extends Tuple,K extends Tuple>
Extracts a composite key from a Tuple
instance.
Constructor Summary | |
---|---|
SortFns.TupleKeyFn(int[] indices,
TupleFactory tupleFactory)
|
Method Summary | |
---|---|
K |
map(V input)
Maps the given input into an instance of the output type. |
Methods inherited from class org.apache.crunch.MapFn |
---|
process, scaleFactor |
Methods inherited from class org.apache.crunch.DoFn |
---|
cleanup, configure, initialize, setContext |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SortFns.TupleKeyFn(int[] indices, TupleFactory tupleFactory)
Method Detail |
---|
public K map(V input)
MapFn
map
in class MapFn<V extends Tuple,K extends Tuple>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |