Uses of Class
com.datastax.astra.client.collections.commands.Update
Package
Description
Top package to interact with Collections
Command Definitions for operating on Collections.
Utility classes for commands and operations.
-
Uses of Update in com.datastax.astra.client.collections
Modifier and TypeMethodDescriptionCollection.findOneAndUpdate
(Filter filter, Update update) Atomically find a document and update it.Collection.findOneAndUpdate
(Filter filter, Update update, CollectionFindOneAndUpdateOptions options) Atomically find a document and update it.Collection.updateMany
(Filter filter, Update update) Update all documents in the collection according to the specified arguments.Collection.updateMany
(Filter filter, Update update, CollectionUpdateManyOptions options) Update all documents in the collection according to the specified arguments.Update a single document in the collection according to the specified arguments.Collection.updateOne
(Filter filter, Update update, UpdateOneOptions updateOptions) Update a single document in the collection according to the specified arguments. -
Uses of Update in com.datastax.astra.client.collections.commands
Modifier and TypeMethodDescriptionBuilder patternstatic Update
Initialize anwith the key and value.
static Update
Update.create()
Allow to creat a new instance.Builder patternstatic Update
Initialize anwith the key and value.
Builder patternstatic Update
Initialize anwith the key and value.
Builder patternstatic Update
Initialize anwith the key and value.
Builder patternstatic Update
Initialize anwith the key and value.
Builder pattern.static Update
Initialize anwith the key and value.
Builder patternstatic Update
Initialize anwith the key and value.
Builder patternBuilder patternstatic Update
Initialize anwith the key and value.
Builder patternstatic Update
Initialize anwith the key and value.
Update.updateCurrentDate
(String... fields) Builder patternstatic Update
Updates.updateCurrentDate
(String... fields) Initialize anwith the key and value.
Builder patternUpdate.updateSetOnInsert
(Map<String, Double> fields) Builder patternstatic Update
Updates.updateSetOnInsert
(Map<String, Double> fields) Initialize anwith the key and value.
-
Uses of Update in com.datastax.astra.client.core.commands