T
- type input that is passed on as the keypublic class KeyProjectionMapper<T> extends Mapper<T,T,Void>
Constructor and Description |
---|
KeyProjectionMapper() |
Modifier and Type | Method and Description |
---|---|
protected void |
emit(O value)
Syntactic sugar for
getContext().emit(value) |
void |
map(T value)
Processes a single input value, emitting output through the context returned by
Worker.getContext() or emit(O) . |
allowSliceRetry, beginShard, beginSlice, endShard, endSlice, estimateMemoryRequirement, getContext, setContext
public void map(T value)
Worker.getContext()
or emit(O)
.protected void emit(O value)
getContext().emit(value)
Copyright © 2015 Google. All rights reserved.