public class BulkRequest extends Object
| Constructor and Description |
|---|
BulkRequest() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAction(AbstractSubRequest action,
Object object)
Add an entry to the subAction map
|
String |
getBulkBody(com.fasterxml.jackson.databind.ObjectMapper mapper)
Get body of bulking request
|
void |
setMapSubAction(Map<AbstractSubRequest,Object> mapSubAction)
Set the SubActions map
|
public void setMapSubAction(Map<AbstractSubRequest,Object> mapSubAction)
mapSubAction - the map of subactions of bulking requestpublic void addAction(AbstractSubRequest action, Object object)
action - The actionobject - The object on which the action will be donepublic String getBulkBody(com.fasterxml.jackson.databind.ObjectMapper mapper) throws com.fasterxml.jackson.core.JsonProcessingException
mapper - the Object Mappercom.fasterxml.jackson.core.JsonProcessingExceptionCopyright © 2019 City of Paris. All rights reserved.