net.vz.mongodb.jackson
Class MapReduce
java.lang.Object
net.vz.mongodb.jackson.MapReduce
public class MapReduce
- extends Object
Map reduce command builder
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapReduce
public MapReduce()
build
public static <T,K> MapReduce.MapReduceCommand<T,K> build(String map,
String reduce,
MapReduce.OutputType outputType,
String collection,
Class<T> resultType,
Class<K> keyType)
- Build a map reduce command
- Parameters:
map - The map functionreduce - The reduce functionoutputType - The outputTypecollection - The collection name, may be null if output type is INLINEresultType - The type to deserialise the result tokeyType - The type of the keys that are being reduced on
- Returns:
- The command
Copyright © 2011-2012 VZ Netzwerke. All Rights Reserved.