Class ListCollectionsCommand
- java.lang.Object
-
- de.caluga.morphium.driver.commands.MongoCommand<T>
-
- de.caluga.morphium.driver.commands.ReadMongoCommand<ListCollectionsCommand>
-
- de.caluga.morphium.driver.commands.ListCollectionsCommand
-
- All Implemented Interfaces:
MultiResultCommand,Iterable<Map<String,Object>>
public class ListCollectionsCommand extends ReadMongoCommand<ListCollectionsCommand>
-
-
Constructor Summary
Constructors Constructor Description ListCollectionsCommand(MongoConnection d)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListCollectionsCommandaddFilter(String k, Object v)ListCollectionsCommandfromMap(Map<String,Object> m)BooleangetAuthorizedCollections()StringgetCommandName()Map<String,Object>getFilter()BooleangetNameOnly()ListCollectionsCommandsetAuthorizedCollections(Boolean authorizedCollections)ListCollectionsCommandsetColl(String coll)ListCollectionsCommandsetFilter(Map<String,Object> filter)ListCollectionsCommandsetNameOnly(Boolean nameOnly)-
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
asMap, clear, executeAsync, getColl, getComment, getConnection, getDb, getMetaData, releaseConnection, 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
asMap, getMetaData
-
-
-
-
Constructor Detail
-
ListCollectionsCommand
public ListCollectionsCommand(MongoConnection d)
-
-
Method Detail
-
setFilter
public ListCollectionsCommand setFilter(Map<String,Object> filter)
-
getNameOnly
public Boolean getNameOnly()
-
setNameOnly
public ListCollectionsCommand setNameOnly(Boolean nameOnly)
-
getAuthorizedCollections
public Boolean getAuthorizedCollections()
-
setAuthorizedCollections
public ListCollectionsCommand setAuthorizedCollections(Boolean authorizedCollections)
-
addFilter
public ListCollectionsCommand addFilter(String k, Object v)
-
setColl
public ListCollectionsCommand setColl(String coll)
- Overrides:
setCollin classMongoCommand<ListCollectionsCommand>
-
fromMap
public ListCollectionsCommand fromMap(Map<String,Object> m)
- Overrides:
fromMapin classMongoCommand<ListCollectionsCommand>
-
getCommandName
public String getCommandName()
- Specified by:
getCommandNamein classMongoCommand<ListCollectionsCommand>
-
-