Class MapReduceCommand
- java.lang.Object
-
- de.caluga.morphium.driver.commands.MongoCommand<T>
-
- de.caluga.morphium.driver.commands.ReadMongoCommand<MapReduceCommand>
-
- de.caluga.morphium.driver.commands.MapReduceCommand
-
- All Implemented Interfaces:
MultiResultCommand,Iterable<Map<String,Object>>
public class MapReduceCommand extends ReadMongoCommand<MapReduceCommand>
-
-
Constructor Summary
Constructors Constructor Description MapReduceCommand(MongoConnection d)
-
Method Summary
-
Methods inherited from class de.caluga.morphium.driver.commands.ReadMongoCommand
execute, executeIterable, getReadPreference, iterator, setReadPreference
-
Methods inherited from class de.caluga.morphium.driver.commands.MongoCommand
clear, executeAsync, getColl, getConnection, getDb, getMetaData, releaseConnection, setColl, setConnection, setDb, setMetaData, setMetaData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface de.caluga.morphium.driver.commands.MultiResultCommand
getMetaData
-
-
-
-
Constructor Detail
-
MapReduceCommand
public MapReduceCommand(MongoConnection d)
-
-
Method Detail
-
getMap
public String getMap()
-
setMap
public MapReduceCommand setMap(String map)
-
getReduce
public String getReduce()
-
setReduce
public MapReduceCommand setReduce(String reduce)
-
getFinalize
public String getFinalize()
-
setFinalize
public MapReduceCommand setFinalize(String finalize)
-
getOutColl
public String getOutColl()
-
setOutColl
public MapReduceCommand setOutColl(String outColl)
-
getOutConfig
public Doc getOutConfig()
-
setOutConfig
public MapReduceCommand setOutConfig(Doc outConfig)
-
getQuery
public Doc getQuery()
-
setQuery
public MapReduceCommand setQuery(Doc query)
-
getSort
public Doc getSort()
-
setSort
public MapReduceCommand setSort(Doc sort)
-
getLimit
public Integer getLimit()
-
setLimit
public MapReduceCommand setLimit(Integer limit)
-
getScope
public Doc getScope()
-
setScope
public MapReduceCommand setScope(Doc scope)
-
getJsMode
public Boolean getJsMode()
-
setJsMode
public MapReduceCommand setJsMode(Boolean jsMode)
-
getVerbose
public Boolean getVerbose()
-
setVerbose
public MapReduceCommand setVerbose(Boolean verbose)
-
getBypassDocumentValidation
public Boolean getBypassDocumentValidation()
-
setBypassDocumentValidation
public MapReduceCommand setBypassDocumentValidation(Boolean bypassDocumentValidation)
-
getCollation
public Doc getCollation()
-
setCollation
public MapReduceCommand setCollation(Doc collation)
-
getWriteConcern
public Doc getWriteConcern()
-
setWriteConcern
public MapReduceCommand setWriteConcern(Doc writeConcern)
-
getComment
public String getComment()
- Overrides:
getCommentin classMongoCommand<MapReduceCommand>
-
setComment
public MapReduceCommand setComment(String comment)
- Overrides:
setCommentin classMongoCommand<MapReduceCommand>
-
getCommandName
public String getCommandName()
- Specified by:
getCommandNamein classMongoCommand<MapReduceCommand>
-
asMap
public Map<String,Object> asMap()
- Specified by:
asMapin interfaceMultiResultCommand- Overrides:
asMapin classMongoCommand<MapReduceCommand>
-
fromMap
public MapReduceCommand fromMap(Map<String,Object> m)
- Overrides:
fromMapin classMongoCommand<MapReduceCommand>
-
-