Package com.datastax.astra.client.model
Class FindOneAndUpdateOptions.Builder
java.lang.Object
com.datastax.astra.client.model.FindOneAndUpdateOptions.Builder
- Enclosing class:
FindOneAndUpdateOptions
Deprecated.
Builder for creating
FindOneAndUpdateOptions instances with a fluent API.-
Method Summary
Modifier and TypeMethodDescriptionstatic FindOneAndUpdateOptionsprojection(Projection... projection) Deprecated.Initializes the building process with projection options.static FindOneAndUpdateOptionsDeprecated.Initializes the building process with returnDocument options.static FindOneAndUpdateOptionsDeprecated.Initializes the building process with returnDocument options.static FindOneAndUpdateOptionsDeprecated.Initializes the building process with vector options.static FindOneAndUpdateOptionsDeprecated.Initializes the building process with sorting options.static FindOneAndUpdateOptionsDeprecated.Initializes the building process with vectorize options.static FindOneAndUpdateOptionsDeprecated.Initializes the building process with upsert options.
-
Method Details
-
sort
Deprecated.Initializes the building process with sorting options.- Parameters:
sort- The sort criteria to be applied to the findOneAndUpdate operation.- Returns:
- A new
FindOneAndUpdateOptionsinstance configured with the provided sort criteria.
-
projection
Deprecated.Initializes the building process with projection options.- Parameters:
projection- The projection criteria to be applied to the findOneAndUpdate operation.- Returns:
- A new
FindOneAndUpdateOptionsinstance configured with the provided projection criteria.
-
returnDocumentAfter
Deprecated.Initializes the building process with returnDocument options.- Returns:
- A new
FindOneAndReplaceOptionsinstance configured with the provided returnDocument criteria.
-
returnDocumentBefore
Deprecated.Initializes the building process with returnDocument options.- Returns:
- A new
FindOneAndReplaceOptionsinstance configured with the provided returnDocument criteria.
-
upsert
Deprecated.Initializes the building process with upsert options.- Parameters:
upsert- The upsert criteria to be applied to the findOneAndUpdate operation.- Returns:
- A new
FindOneAndUpdateOptionsinstance configured with the provided upsert criteria.
-
sort
Deprecated.Initializes the building process with vectorize options.- Parameters:
vectorize- The vectorize criteria to be applied to the findOne operationsorts- The sort criteria to be applied to the findOne operation.- Returns:
- A new
FindOneAndUpdateOptionsinstance configured with the provided vectorize criteria.
-
sort
Deprecated.Initializes the building process with vector options.- Parameters:
vector- The vector criteria to be applied to the findOne operationsorts- The sort criteria to be applied to the findOne operation.- Returns:
- A new
FindOneAndUpdateOptionsinstance configured with the provided vector criteria.
-