Uses of Class
com.datastax.astra.client.model.Update
Package
Description
Entrypoint and core classes for the client.
Domain model classes with
Requests
, Results
, Options
and Iterables
.-
Uses of Update in com.datastax.astra.client
Modifier and TypeMethodDescriptionCollection.findOneAndUpdate
(Filter filter, Update update) Atomically find a document and update it.Collection.findOneAndUpdate
(Filter filter, Update update, FindOneAndUpdateOptions 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, UpdateManyOptions 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.model
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.