Class RenameCollectionCommand
- java.lang.Object
-
- de.caluga.morphium.driver.commands.MongoCommand<T>
-
- de.caluga.morphium.driver.commands.AdminMongoCommand<RenameCollectionCommand>
-
- de.caluga.morphium.driver.commands.RenameCollectionCommand
-
- All Implemented Interfaces:
SingleResultCommand
public class RenameCollectionCommand extends AdminMongoCommand<RenameCollectionCommand>
-
-
Constructor Summary
Constructors Constructor Description RenameCollectionCommand(MongoConnection d)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>asMap()RenameCollectionCommandfromMap(Map<String,Object> m)StringgetCommandName()BooleangetDropTarget()StringgetTo()RenameCollectionCommandsetDropTarget(Boolean dropTarget)RenameCollectionCommandsetTo(String to)-
Methods inherited from class de.caluga.morphium.driver.commands.AdminMongoCommand
execute, executeAsync
-
Methods inherited from class de.caluga.morphium.driver.commands.MongoCommand
clear, 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 de.caluga.morphium.driver.commands.SingleResultCommand
getMetaData
-
-
-
-
Constructor Detail
-
RenameCollectionCommand
public RenameCollectionCommand(MongoConnection d)
-
-
Method Detail
-
getTo
public String getTo()
-
setTo
public RenameCollectionCommand setTo(String to)
-
getDropTarget
public Boolean getDropTarget()
-
setDropTarget
public RenameCollectionCommand setDropTarget(Boolean dropTarget)
-
getCommandName
public String getCommandName()
- Specified by:
getCommandNamein classMongoCommand<RenameCollectionCommand>
-
asMap
public Map<String,Object> asMap()
- Specified by:
asMapin interfaceSingleResultCommand- Overrides:
asMapin classAdminMongoCommand<RenameCollectionCommand>
-
fromMap
public RenameCollectionCommand fromMap(Map<String,Object> m)
- Overrides:
fromMapin classMongoCommand<RenameCollectionCommand>
-
-