Class Protos.ExtractKeyFn<M extends,K>

  extended by org.apache.crunch.DoFn<S,T>
      extended by org.apache.crunch.MapFn<M,K>
          extended by org.apache.crunch.util.Protos.ExtractKeyFn<M,K>
All Implemented Interfaces:
Enclosing class:

public static class Protos.ExtractKeyFn<M extends,K>
extends MapFn<M,K>

See Also:
Serialized Form

Constructor Summary
Protos.ExtractKeyFn(String fieldName)
Method Summary
 K map(M 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, setConfigurationForTest, setContext
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public Protos.ExtractKeyFn(String fieldName)
Method Detail


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,K>

Copyright © 2012 The Apache Software Foundation. All Rights Reserved.