Class GafferMapper<KEY_IN,VALUE_IN,KEY_OUT,VALUE_OUT>
- java.lang.Object
-
- org.apache.hadoop.mapreduce.Mapper<KEY_IN,VALUE_IN,KEY_OUT,VALUE_OUT>
-
- uk.gov.gchq.gaffer.hdfs.operation.mapper.GafferMapper<KEY_IN,VALUE_IN,KEY_OUT,VALUE_OUT>
-
- Type Parameters:
KEY_IN
- type of input keyVALUE_IN
- type of input valueKEY_OUT
- type of output keyVALUE_OUT
- type of output value
- Direct Known Subclasses:
AddElementsFromHdfsMapper
,SampleDataForSplitPointsMapper
public abstract class GafferMapper<KEY_IN,VALUE_IN,KEY_OUT,VALUE_OUT> extends org.apache.hadoop.mapreduce.Mapper<KEY_IN,VALUE_IN,KEY_OUT,VALUE_OUT>
AnGafferMapper
is aMapper
that uses aMapperGenerator
to map the input data intoElement
s and then delegates the elements to an abstract map method to serialise them and add them to the job map context.
-
-
Constructor Summary
Constructors Constructor Description GafferMapper()
-