This project has retired. For details please refer to its
Attic page.
Protos.ExtractKeyFn (Apache Crunch 0.3.0-incubating API)
org.apache.crunch.util
Class Protos.ExtractKeyFn<M extends com.google.protobuf.Message,K>
java.lang.Object
org.apache.crunch.DoFn<S,T>
org.apache.crunch.MapFn<M,K>
org.apache.crunch.util.Protos.ExtractKeyFn<M,K>
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- Protos
public static class Protos.ExtractKeyFn<M extends com.google.protobuf.Message,K>
- extends MapFn<M,K>
- See Also:
- Serialized Form
Method Summary |
K |
map(M input)
Maps the given input into an instance of the output type. |
Protos.ExtractKeyFn
public Protos.ExtractKeyFn(String fieldName)
map
public K map(M input)
- Description copied from class:
MapFn
- Maps the given input into an instance of the output type.
- Specified by:
map
in class MapFn<M extends com.google.protobuf.Message,K>
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.