Class DeleteOperation

    • Constructor Detail

      • DeleteOperation

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

      • getDeleteRequests

        public java.util.List<DeleteRequest> getDeleteRequests()
        Deprecated.
        Gets the list of remove requests.
        Returns:
        the remove requests