K - the type of the keyV - the type of the valuepublic class IdentityMapper<K,V> extends Mapper<KeyValue<K,V>,K,V>
| Constructor and Description |
|---|
IdentityMapper() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
emit(O value)
Syntactic sugar for
getContext().emit(value) |
void |
map(KeyValue<K,V> input)
Processes a single input value, emitting output through the context returned by
Worker.getContext() or emit(O). |
allowSliceRetry, beginShard, beginSlice, endShard, endSlice, estimateMemoryRequirement, getContext, setContextpublic void map(KeyValue<K,V> input)
Worker.getContext() or emit(O).protected void emit(O value)
getContext().emit(value)Copyright © 2015 Google. All rights reserved.