This project has retired. For details please refer to its
Attic page.
IdentityFn (Apache Crunch 0.9.0 API)
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. |
Methods inherited from class org.apache.crunch.DoFn |
cleanup, configure, disableDeepCopy, getConfiguration, getContext, getCounter, getCounter, getStatus, getTaskAttemptID, increment, increment, increment, increment, initialize, progress, setConfiguration, setContext, setStatus |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.