Class UpdateOperation

    • Constructor Detail

      • UpdateOperation

        public UpdateOperation​(MongoNamespace namespace,
                               boolean ordered,
                               WriteConcern writeConcern,
                               boolean retryWrites,
                               java.util.List<UpdateRequest> updates)
        Deprecated.
        Construct an instance.
        Parameters:
        namespace - the database and collection namespace for the operation.
        ordered - whether the updates are ordered.
        writeConcern - the write concern for the operation.
        retryWrites - if writes should be retried if they fail due to a network error.
        updates - the update requests.
        Since:
        3.6
    • Method Detail

      • getUpdateRequests

        public java.util.List<UpdateRequest> getUpdateRequests()
        Deprecated.
        Gets the list of update requests.
        Returns:
        the update requests