Class AccumuloKeyValueReducer
- java.lang.Object
-
- org.apache.hadoop.mapreduce.Reducer<KEY,VALUE,KEY,VALUE>
-
- uk.gov.gchq.gaffer.hdfs.operation.reducer.GafferReducer<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>
-
- uk.gov.gchq.gaffer.accumulostore.operation.hdfs.reducer.AccumuloKeyValueReducer
-
public class AccumuloKeyValueReducer extends GafferReducer<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>
Reducer for use in bulk import of data into Accumulo. It merges all values associated to the gaffer.accumulostore.key by converting them into
Properties
and then merges those, and then converts them back to an Accumulo value.It contains an optimisation so that if there is only one value, we simply output it rather than incurring the cost of deserialising them and then reserialising them.
-
-
Constructor Summary
Constructors Constructor Description AccumuloKeyValueReducer()
-