Class DistinctMongoCommand
- java.lang.Object
-
- de.caluga.morphium.driver.commands.MongoCommand<DistinctMongoCommand>
-
- de.caluga.morphium.driver.commands.DistinctMongoCommand
-
public class DistinctMongoCommand extends MongoCommand<DistinctMongoCommand>
-
-
Constructor Summary
Constructors Constructor Description DistinctMongoCommand(MongoConnection d)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object>execute()Map<String,Object>getCollation()StringgetCommandName()StringgetKey()Map<String,Object>getQuery()Map<String,Object>getReadConcern()DistinctMongoCommandsetCollation(Map<String,Object> collation)DistinctMongoCommandsetKey(String key)DistinctMongoCommandsetQuery(Map<String,Object> query)DistinctMongoCommandsetReadConcern(Map<String,Object> readConcern)-
Methods inherited from class de.caluga.morphium.driver.commands.MongoCommand
asMap, clear, executeAsync, fromMap, getColl, getComment, getConnection, getDb, getMetaData, releaseConnection, setColl, setComment, setConnection, setDb, setMetaData, setMetaData
-
-
-
-
Constructor Detail
-
DistinctMongoCommand
public DistinctMongoCommand(MongoConnection d)
-
-
Method Detail
-
getCommandName
public String getCommandName()
- Specified by:
getCommandNamein classMongoCommand<DistinctMongoCommand>
-
getKey
public String getKey()
-
setKey
public DistinctMongoCommand setKey(String key)
-
setQuery
public DistinctMongoCommand setQuery(Map<String,Object> query)
-
setReadConcern
public DistinctMongoCommand setReadConcern(Map<String,Object> readConcern)
-
setCollation
public DistinctMongoCommand setCollation(Map<String,Object> collation)
-
execute
public List<Object> execute() throws MorphiumDriverException
- Throws:
MorphiumDriverException
-
-