public class BulkRequest extends JsonObject
{
"requests": [
{
"seq":0,
"op": "FIND",
"request": { request }
}
]
}
| Constructor and Description |
|---|
BulkRequest() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(T x) |
static BulkRequest |
fromJson(com.fasterxml.jackson.databind.node.ObjectNode node) |
List<T> |
getEntries()
Returns all entries in the bulk object
|
protected void |
parse(com.fasterxml.jackson.databind.node.ArrayNode entriesArray)
Parses the bulk object from the given array node
|
protected Request |
parseEntry(com.fasterxml.jackson.databind.node.ObjectNode node) |
void |
setEntries(List<T> x)
Sets the entries in the bulk object.
|
void |
setEntries(T[] x) |
com.fasterxml.jackson.databind.JsonNode |
toJson() |
getFactory, getSourceNode, toStringprotected final List<T extends JsonObject> entries
public com.fasterxml.jackson.databind.JsonNode toJson()
toJson in class JsonObjectpublic static BulkRequest fromJson(com.fasterxml.jackson.databind.node.ObjectNode node)
protected Request parseEntry(com.fasterxml.jackson.databind.node.ObjectNode node)
protected void parse(com.fasterxml.jackson.databind.node.ArrayNode entriesArray)
public void setEntries(List<T> x)
public void setEntries(T[] x)
public void add(T x)
Copyright © 2016. All rights reserved.