|
|||||||||
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<T,T> org.apache.crunch.fn.IdentityFn<T>
public class IdentityFn<T>
Method Summary | ||
---|---|---|
static
|
getInstance()
|
|
T |
map(T 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 |
Method Detail |
---|
public static <T> IdentityFn<T> getInstance()
public T map(T input)
MapFn
map
in class MapFn<T,T>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |