public class InsertionRequest extends DocRequest
| Constructor and Description |
|---|
InsertionRequest() |
| Modifier and Type | Method and Description |
|---|---|
static InsertionRequest |
fromJson(com.fasterxml.jackson.databind.node.ObjectNode node)
Parses an insertion request from a json object.
|
Projection |
getReturnFields()
Specifies the fields of the inserted entities to return.
|
void |
setReturnFields(Projection p)
Specifies the fields of the inserted entities to return.
|
com.fasterxml.jackson.databind.JsonNode |
toJson()
Returns JSON representation of this
|
getEntityData, parse, setEntityDatagetClientId, getEntityVersion, getExecution, setClientId, setEntityVersion, setExecution, shallowCopyFromgetFactory, getSourceNode, toStringpublic Projection getReturnFields()
public void setReturnFields(Projection p)
public com.fasterxml.jackson.databind.JsonNode toJson()
toJson in class DocRequestpublic static InsertionRequest fromJson(com.fasterxml.jackson.databind.node.ObjectNode node)
Copyright © 2015. All rights reserved.