All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ontology2.bakemono.ranSample.PassthroughReducer Maven / Gradle / Ivy

There is a newer version: 3.2
Show newest version
package com.ontology2.bakemono.ranSample;
import java.io.IOException;

import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.mapreduce.Reducer;
import org.apache.hadoop.mapreduce.Reducer.Context;

import com.ontology2.bakemono.jena.WritableTriple;

public class PassthroughReducer extends Reducer {
    
    @Override
    protected void reduce(K key, Iterable value,
            Context context)
            throws IOException, InterruptedException {
        for(V v:value) {
            context.write(key,null);
        };
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy