public class InsertResult extends Object
Constructor and Description |
---|
InsertResult() |
Modifier and Type | Method and Description |
---|---|
org.bson.Document |
getDocument() |
org.bson.Document |
getError() |
boolean |
isSuccessful() |
InsertResult |
setDocument(org.bson.Document document) |
InsertResult |
setError(org.bson.Document error) |
public boolean isSuccessful()
public org.bson.Document getDocument()
public InsertResult setDocument(org.bson.Document document)
public org.bson.Document getError()
public InsertResult setError(org.bson.Document error)
Copyright © 2010–2020. All rights reserved.