Class MongoUpdate

java.lang.Object
io.micronaut.data.mongodb.operations.MongoUpdate

public final class MongoUpdate extends Object
The MongoDB's many command.
Since:
3.3.0
Author:
Denis Stepanov
  • Constructor Summary

    Constructors
    Constructor
    Description
    MongoUpdate(@NonNull org.bson.conversions.Bson update, @NonNull org.bson.conversions.Bson filter, @NonNull com.mongodb.client.model.UpdateOptions options)
    The default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bson.conversions.Bson
     
    com.mongodb.client.model.UpdateOptions
     
    org.bson.conversions.Bson
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MongoUpdate

      public MongoUpdate(@NonNull @NonNull org.bson.conversions.Bson update, @NonNull @NonNull org.bson.conversions.Bson filter, @NonNull @NonNull com.mongodb.client.model.UpdateOptions options)
      The default constructor.
      Parameters:
      update - The update
      filter - The filter
      options - The options
  • Method Details

    • getUpdate

      public org.bson.conversions.Bson getUpdate()
    • getFilter

      public org.bson.conversions.Bson getFilter()
    • getOptions

      public com.mongodb.client.model.UpdateOptions getOptions()