Class WriteMongoCommand<T extends MongoCommand>
java.lang.Object
de.caluga.morphium.driver.commands.MongoCommand<T>
de.caluga.morphium.driver.commands.WriteMongoCommand<T>
- Direct Known Subclasses:
ClearCollectionCommand,ConvertToCappedCommand,CreateIndexesCommand,DeleteMongoCommand,DropMongoCommand,FindAndModifyMongoCommand,InsertMongoCommand,KillCursorsCommand,StoreMongoCommand,UpdateMongoCommand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute()setBypassDocumentValidation(Boolean bypassDocumentValidation) setWriteConcern(Map<String, Object> writeConcern) Methods inherited from class de.caluga.morphium.driver.commands.MongoCommand
asMap, clear, executeAsync, fromMap, getColl, getCommandName, getComment, getConnection, getDb, getDefaultBatchSize, getMetaData, getRetriesOnNetworkError, getSleepBetweenErrorRetries, setColl, setComment, setConnection, setDb, setDefaultBatchSize, setMetaData, setMetaData, setRetriesOnNetworkError, setSleepBetweenErrorRetries
-
Constructor Details
-
WriteMongoCommand
-
-
Method Details
-
getWriteConcern
-
setWriteConcern
-
getBypassDocumentValidation
-
setBypassDocumentValidation
-
execute
- Throws:
MorphiumDriverException
-