Interface MapperGenerator<KEY_IN,VALUE_IN>
-
- Type Parameters:
KEY_IN
- the input key for the mapperVALUE_IN
- the input value for the mapper
- All Known Implementing Classes:
AvroMapperGenerator
,JsonMapperGenerator
,TextMapperGenerator
public interface MapperGenerator<KEY_IN,VALUE_IN>
AMapperGenerator
is used by the Hadoop jobMapper
to convert the input key and value to anIterable
ofElement
s- See Also:
AvroMapperGenerator
,TextMapperGenerator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterable<? extends Element>
getElements(KEY_IN keyIn, VALUE_IN valueIn, org.apache.hadoop.mapreduce.MapContext<KEY_IN,VALUE_IN,?,?> context)
-