Class MongoUpdate


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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.bson.conversions.Bson getFilter()  
      com.mongodb.client.model.UpdateOptions getOptions()  
      org.bson.conversions.Bson getUpdate()  
      • Methods inherited from class java.lang.Object

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

      • MongoUpdate

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

      • getUpdate

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

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

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