Class AggregateMongoCommand
- java.lang.Object
-
- de.caluga.morphium.driver.commands.MongoCommand<T>
-
- de.caluga.morphium.driver.commands.ReadMongoCommand<AggregateMongoCommand>
-
- de.caluga.morphium.driver.commands.AggregateMongoCommand
-
- All Implemented Interfaces:
MultiResultCommand,Iterable<Map<String,Object>>
public class AggregateMongoCommand extends ReadMongoCommand<AggregateMongoCommand> implements MultiResultCommand
-
-
Constructor Summary
Constructors Constructor Description AggregateMongoCommand(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, getComment, getConnection, getDb, getMetaData, releaseConnection, setColl, setComment, 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
execute, executeIterable, getMetaData
-
-
-
-
Constructor Detail
-
AggregateMongoCommand
public AggregateMongoCommand(MongoConnection d)
-
-
Method Detail
-
getBatchSize
public Integer getBatchSize()
-
setBatchSize
public AggregateMongoCommand setBatchSize(Integer batchSize)
-
setPipeline
public AggregateMongoCommand setPipeline(List<Map<String,Object>> pipeline)
-
getExplain
public Boolean getExplain()
-
setExplain
public AggregateMongoCommand setExplain(Boolean explain)
-
getAllowDiskUse
public Boolean getAllowDiskUse()
-
setAllowDiskUse
public AggregateMongoCommand setAllowDiskUse(Boolean allowDiskUse)
-
getMaxWaitTime
public Integer getMaxWaitTime()
-
setMaxWaitTime
public AggregateMongoCommand setMaxWaitTime(Integer maxWaitTime)
-
getBypassDocumentValidation
public Boolean getBypassDocumentValidation()
-
setBypassDocumentValidation
public AggregateMongoCommand setBypassDocumentValidation(Boolean bypassDocumentValidation)
-
setReadConcern
public AggregateMongoCommand setReadConcern(Map<String,Object> readConcern)
-
setCollation
public AggregateMongoCommand setCollation(Map<String,Object> collation)
-
getHint
public Object getHint()
-
setHint
public AggregateMongoCommand setHint(Object hint)
-
setWriteConern
public AggregateMongoCommand setWriteConern(Map<String,Object> writeConern)
-
setLet
public AggregateMongoCommand setLet(Map<String,Object> let)
-
setCursor
public AggregateMongoCommand setCursor(Map<String,Object> cursor)
-
asMap
public Map<String,Object> asMap()
- Specified by:
asMapin interfaceMultiResultCommand- Overrides:
asMapin classMongoCommand<AggregateMongoCommand>
-
getCommandName
public String getCommandName()
- Specified by:
getCommandNamein classMongoCommand<AggregateMongoCommand>
-
fromMap
public AggregateMongoCommand fromMap(Map<String,Object> m)
- Overrides:
fromMapin classMongoCommand<AggregateMongoCommand>
-
-