This project has retired. For details please refer to its
Attic page.
Converter (Apache Crunch 0.7.0 API)
org.apache.crunch.types
Interface Converter<K,V,S,T>
- All Superinterfaces:
- Serializable
public interface Converter<K,V,S,T>
- extends Serializable
Converts the input key/value from a MapReduce task into the input to a
DoFn
, or takes the output of a DoFn
and write it to the
output key/values.
convertInput
S convertInput(K key,
V value)
convertIterableInput
T convertIterableInput(K key,
Iterable<V> value)
outputKey
K outputKey(S value)
outputValue
V outputValue(S value)
getKeyClass
Class<K> getKeyClass()
getValueClass
Class<V> getValueClass()
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.