Class IndexGeneratorJob.IndexGeneratorCombiner

  • Enclosing class:
    IndexGeneratorJob

    public static class IndexGeneratorJob.IndexGeneratorCombiner
    extends org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.BytesWritable,​org.apache.hadoop.io.BytesWritable,​org.apache.hadoop.io.BytesWritable,​org.apache.hadoop.io.BytesWritable>
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Reducer

        org.apache.hadoop.mapreduce.Reducer.Context
    • Constructor Detail

      • IndexGeneratorCombiner

        public IndexGeneratorCombiner()
    • Method Detail

      • setup

        protected void setup​(org.apache.hadoop.mapreduce.Reducer.Context context)
        Overrides:
        setup in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.BytesWritable,​org.apache.hadoop.io.BytesWritable,​org.apache.hadoop.io.BytesWritable,​org.apache.hadoop.io.BytesWritable>
      • reduce

        protected void reduce​(org.apache.hadoop.io.BytesWritable key,
                              Iterable<org.apache.hadoop.io.BytesWritable> values,
                              org.apache.hadoop.mapreduce.Reducer.Context context)
                       throws IOException,
                              InterruptedException
        Overrides:
        reduce in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.BytesWritable,​org.apache.hadoop.io.BytesWritable,​org.apache.hadoop.io.BytesWritable,​org.apache.hadoop.io.BytesWritable>
        Throws:
        IOException
        InterruptedException