class UpdateRequest extends ModifyRequest
WriteRequest.Type| Modifier and Type | Field and Description |
|---|---|
private boolean |
multi |
| Constructor and Description |
|---|
UpdateRequest(DBObject query,
boolean upsert,
DBObject update,
boolean multi) |
| Modifier and Type | Method and Description |
|---|---|
WriteRequest.Type |
getType() |
DBObject |
getUpdate() |
boolean |
isMulti() |
getQuery, getUpdateDocument, isUpsertpublic DBObject getUpdate()
public boolean isMulti()
isMulti in class ModifyRequestpublic WriteRequest.Type getType()
getType in class WriteRequest