Uses of Class
com.datastax.astra.client.collections.commands.options.CollectionFindOneAndReplaceOptions
Package
Description
Top package to interact with Collections
Options and Inputs for Collections commands.
-
Uses of CollectionFindOneAndReplaceOptions in com.datastax.astra.client.collections
Modifier and TypeMethodDescriptionCollection.findOneAndReplace
(Filter filter, T replacement, CollectionFindOneAndReplaceOptions options) Atomically find a document and replace it. -
Uses of CollectionFindOneAndReplaceOptions in com.datastax.astra.client.collections.commands.options
Modifier and TypeMethodDescriptionCollectionFindOneAndReplaceOptions.projection
(Projection... p) Adding this on top of projection(Projection[] p) to allow for a more fluent API.CollectionFindOneAndReplaceOptions.returnDocument
(ReturnDocument doc) Adding this on top of projection(Projection[] p) to allow for a more fluent API.Adding this on top of sort(Sort[] s) to allow for a more fluent API.