public class IndexWithExternalVersionBulkRequestItem extends IndexBulkRequestItem
| Modifier and Type | Field and Description |
|---|---|
protected long |
version |
sourceid, 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, setSourcegetId, getIndex, setId, setIndexpublic com.fasterxml.jackson.databind.node.ObjectNode getActionAndMetaDataNode(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
ElasticsearchCompatibility elasticsearchCompatibility)
getActionAndMetaDataNode in interface BulkRequestItemgetActionAndMetaDataNode in class IndexBulkRequestItempublic long getVersion()
public void setVersion(long version)