Package io.vertx.mongo.client.result
Class InsertManyResult
- java.lang.Object
 - 
- io.vertx.mongo.client.result.InsertManyResult
 
 
- 
public class InsertManyResult extends java.lang.Object 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.Integer,java.lang.Object>getInsertedIds()An unmodifiable map of the index of the inserted document to the id of the inserted document.booleanisAcknowledged()Returns true if the write was acknowledged. 
 - 
 
- 
- 
Method Detail
- 
isAcknowledged
public boolean isAcknowledged()
Returns true if the write was acknowledged.- Returns:
 - true if the write was acknowledged
 
 
- 
getInsertedIds
public java.util.Map<java.lang.Integer,java.lang.Object> getInsertedIds()
An unmodifiable map of the index of the inserted document to the id of the inserted document.Note: Inserting RawBsonDocuments does not generate an _id value and it's corresponding value will be null.
- Returns:
 - A map of the index of the inserted document to the id of the inserted document.
 
 
 - 
 
 -