Class InsertMongoCommand
java.lang.Object
de.caluga.morphium.driver.commands.MongoCommand<T>
de.caluga.morphium.driver.commands.WriteMongoCommand<InsertMongoCommand>
de.caluga.morphium.driver.commands.InsertMongoCommand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute()setBypassDocumentValidation(Boolean bypassDocumentValidation) setComment(String comment) setDocuments(List<Map<String, Object>> documents) setOrdered(Boolean ordered) Methods inherited from class de.caluga.morphium.driver.commands.WriteMongoCommand
getWriteConcern, setWriteConcernMethods inherited from class de.caluga.morphium.driver.commands.MongoCommand
asMap, clear, executeAsync, fromMap, getColl, getConnection, getDb, getDefaultBatchSize, getMetaData, getRetriesOnNetworkError, getSleepBetweenErrorRetries, setColl, setConnection, setDb, setDefaultBatchSize, setMetaData, setMetaData, setRetriesOnNetworkError, setSleepBetweenErrorRetries
-
Constructor Details
-
InsertMongoCommand
-
-
Method Details
-
getDocuments
-
setDocuments
-
getOrdered
-
setOrdered
-
getBypassDocumentValidation
- Overrides:
getBypassDocumentValidationin classWriteMongoCommand<InsertMongoCommand>
-
setBypassDocumentValidation
- Overrides:
setBypassDocumentValidationin classWriteMongoCommand<InsertMongoCommand>
-
getComment
- Overrides:
getCommentin classMongoCommand<InsertMongoCommand>
-
setComment
- Overrides:
setCommentin classMongoCommand<InsertMongoCommand>
-
getCommandName
- Specified by:
getCommandNamein classMongoCommand<InsertMongoCommand>
-
execute
- Overrides:
executein classWriteMongoCommand<InsertMongoCommand>- Throws:
MorphiumDriverException
-