Class InsertOperation

    • Constructor Detail

      • InsertOperation

        public InsertOperation​(MongoNamespace namespace,
                               boolean ordered,
                               WriteConcern writeConcern,
                               boolean retryWrites,
                               List<InsertRequest> insertRequests)
        Deprecated. 
        Construct an instance.
        Parameters:
        namespace - the database and collection namespace for the operation.
        ordered - whether the inserts are ordered.
        writeConcern - the write concern for the operation.
        retryWrites - if writes should be retried if they fail due to a network error.
        insertRequests - the list of inserts.
        Since:
        3.6