public class IndexWithExternalVersionBulkRequestItem extends IndexBulkRequestItem
Modifier and Type | Field and Description |
---|---|
protected long |
version |
source
id, index
Constructor and Description |
---|
IndexWithExternalVersionBulkRequestItem(String index,
String id,
long version,
com.fasterxml.jackson.databind.node.ObjectNode source) |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.node.ObjectNode |
getActionAndMetaDataNode(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
ElasticsearchCompatibility elasticsearchCompatibility) |
long |
getVersion() |
void |
setVersion(long version) |
getSource, getSourceNode, setSource
getId, getIndex, setId, setIndex
public com.fasterxml.jackson.databind.node.ObjectNode getActionAndMetaDataNode(com.fasterxml.jackson.databind.ObjectMapper objectMapper, ElasticsearchCompatibility elasticsearchCompatibility)
getActionAndMetaDataNode
in interface BulkRequestItem
getActionAndMetaDataNode
in class IndexBulkRequestItem
public long getVersion()
public void setVersion(long version)