Uses of Class
dev.morphia.ReplaceOptions
-
Packages that use ReplaceOptions Package Description dev.morphia -
-
Uses of ReplaceOptions in dev.morphia
Methods in dev.morphia that return ReplaceOptions Modifier and Type Method Description ReplaceOptions
ReplaceOptions. bypassDocumentValidation(Boolean bypassDocumentValidation)
Sets whether to bypass document validation.ReplaceOptions
ReplaceOptions. collation(Collation collation)
ReplaceOptions
ReplaceOptions. comment(String comment)
ReplaceOptions
ReplaceOptions. comment(BsonValue comment)
ReplaceOptions
ReplaceOptions. hint(Bson hint)
ReplaceOptions
ReplaceOptions. hintString(String hint)
ReplaceOptions
ReplaceOptions. let(Bson variables)
ReplaceOptions
ReplaceOptions. upsert(boolean upsert)
ReplaceOptions
ReplaceOptions. writeConcern(WriteConcern writeConcern)
Sets the write concern to use for the insert.Methods in dev.morphia with parameters of type ReplaceOptions Modifier and Type Method Description <T> List<T>
Datastore. replace(List<T> entities, ReplaceOptions options)
Replaces a list of documents in the database<T> T
Datastore. replace(T entity, ReplaceOptions options)
Replaces a document in the database<T> List<T>
DatastoreImpl. replace(List<T> entities, ReplaceOptions options)
<T> T
DatastoreImpl. replace(T entity, ReplaceOptions options)
abstract <T> UpdateResult
DatastoreImpl.DatastoreOperations. replaceOne(MongoCollection<T> collection, T entity, Document filter, ReplaceOptions options)
-