Uses of Class
com.datastax.astra.client.model.FindOneAndUpdateOptions
Package
Description
Entrypoint and core classes for the client.
Domain model classes with
Requests
, Results
, Options
and Iterables
.-
Uses of FindOneAndUpdateOptions in com.datastax.astra.client
Modifier and TypeMethodDescriptionCollection.findOneAndUpdate
(Filter filter, Update update, FindOneAndUpdateOptions options) Atomically find a document and update it. -
Uses of FindOneAndUpdateOptions in com.datastax.astra.client.model
Modifier and TypeMethodDescriptionstatic FindOneAndUpdateOptions
FindOneAndUpdateOptions.Builder.projection
(Projection... projection) Deprecated.Initializes the building process with projection options.FindOneAndUpdateOptions.projection
(Projection... projection) Syntax sugar as delete option is only a sortstatic FindOneAndUpdateOptions
FindOneAndUpdateOptions.Builder.returnDocumentAfter()
Deprecated.Initializes the building process with returnDocument options.FindOneAndUpdateOptions.returnDocumentAfter()
Builder Pattern, update the returnDocument flagstatic FindOneAndUpdateOptions
FindOneAndUpdateOptions.Builder.returnDocumentBefore()
Deprecated.Initializes the building process with returnDocument options.FindOneAndUpdateOptions.returnDocumentBefore()
Builder Pattern, update the returnDocument flagstatic FindOneAndUpdateOptions
Deprecated.Initializes the building process with vector options.static FindOneAndUpdateOptions
Deprecated.Initializes the building process with sorting options.static FindOneAndUpdateOptions
Deprecated.Initializes the building process with vectorize options.Add a criteria with $vector in the sort clauseSyntax sugar as delete option is only a sort Could be like Map.of("$vectorize", "command, "field1", 1, "field2", -1);Syntax sugar as delete option is only a sortAdd a criteria with $vectorize in the sort clause.Syntax sugar as delete option is only a sort Could be like Map.of("$vectorize", "command, "field1", 1, "field2", -1);static FindOneAndUpdateOptions
Deprecated.Initializes the building process with upsert options.Builder Pattern, update the upsert flag.