|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.vz.mongodb.jackson.MapReduce.MapReduceCommand<T,K>
public static class MapReduce.MapReduceCommand<T,K>
Method Summary | |
---|---|
MapReduce.MapReduceCommand<T,K> |
setExtra(com.mongodb.DBObject extra)
Set extra arguments to the map reduce command |
MapReduce.MapReduceCommand<T,K> |
setFinalize(String finalize)
Set the finalize function |
MapReduce.MapReduceCommand<T,K> |
setLimit(int limit)
Set the limit for the result collection to return |
MapReduce.MapReduceCommand<T,K> |
setOutputDB(String outputDB)
Set the db to output to if it's not this db |
MapReduce.MapReduceCommand<T,K> |
setQuery(com.mongodb.DBObject query)
Set the query to limit the items that are mapped |
MapReduce.MapReduceCommand<T,K> |
setReadPreference(com.mongodb.ReadPreference readPreference)
Set the read preference for reading the results |
MapReduce.MapReduceCommand<T,K> |
setScope(Map<String,Object> scope)
Set the scope in which the javascript code for map, reduce and finalise is executed |
MapReduce.MapReduceCommand<T,K> |
setSort(com.mongodb.DBObject sort)
Sort the input objects by this key |
MapReduce.MapReduceCommand<T,K> |
setVerbose(boolean verbose)
Set whether statistics on job execution time should be provided |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public MapReduce.MapReduceCommand<T,K> setReadPreference(com.mongodb.ReadPreference readPreference)
readPreference
- The read preference
public MapReduce.MapReduceCommand<T,K> setOutputDB(String outputDB)
outputDB
- the db to output to
public MapReduce.MapReduceCommand<T,K> setQuery(com.mongodb.DBObject query)
query
- The query
public MapReduce.MapReduceCommand<T,K> setFinalize(String finalize)
finalize
- The finalize function
public MapReduce.MapReduceCommand<T,K> setSort(com.mongodb.DBObject sort)
sort
- The sort
public MapReduce.MapReduceCommand<T,K> setLimit(int limit)
limit
- The limit
public MapReduce.MapReduceCommand<T,K> setScope(Map<String,Object> scope)
scope
- The scope
public MapReduce.MapReduceCommand<T,K> setVerbose(boolean verbose)
verbose
- True if stats should be provided
public MapReduce.MapReduceCommand<T,K> setExtra(com.mongodb.DBObject extra)
extra
- The extra arguments
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |