Package com.google.appengine.tools.mapreduce

Examples of com.google.appengine.tools.mapreduce.Output


    // Reducer<K,V,O>, Reducer<String, String, ReadingHistory>, so K=String, V=String,
    // O=ReadingHistory
    Reducer<String, String, ReadingHistory> reducer = new ReadingReducer();

    // Output<O,R>, Output<ReadingHistory>, so O=ReadingHistory, R=Void
    Output output = new DatastoreOutput();

    MapReduceSpecification<Entity, String, String, ReadingHistory, Object> mrspecs =
        new MapReduceSpecification.Builder<>(input, mapper, reducer, output)
            .setKeyMarshaller(Marshallers.getStringMarshaller())
            .setValueMarshaller(Marshallers.getStringMarshaller()).setNumReducers(reduceShardCount)
View Full Code Here

TOP

Related Classes of com.google.appengine.tools.mapreduce.Output

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.