org.apache.crunch.fn
Class IdentityFn<T>
java.lang.Object
org.apache.crunch.DoFn<S,T>
org.apache.crunch.MapFn<T,T>
org.apache.crunch.fn.IdentityFn<T>
- All Implemented Interfaces:
- Serializable
public class IdentityFn<T>
- extends MapFn<T,T>
- See Also:
- Serialized Form
Method Summary |
static
|
getInstance()
|
T |
map(T input)
Maps the given input into an instance of the output type. |
getInstance
public static <T> IdentityFn<T> getInstance()
map
public T map(T input)
- Description copied from class:
MapFn
- Maps the given input into an instance of the output type.
- Specified by:
map
in class MapFn<T,T>
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.