Package com.flowable.indexing.job.impl
Class IndexWithExternalVersionBulkRequestItem
java.lang.Object
com.flowable.indexing.job.impl.AbstractBulkRequestItem
com.flowable.indexing.job.impl.IndexBulkRequestItem
com.flowable.indexing.job.impl.IndexWithExternalVersionBulkRequestItem
- All Implemented Interfaces:
BulkRequestItem
public class IndexWithExternalVersionBulkRequestItem extends IndexBulkRequestItem
-
Field Summary
Fields Modifier and Type Field Description protected long
version
-
Constructor Summary
Constructors Constructor Description IndexWithExternalVersionBulkRequestItem(java.lang.String index, java.lang.String id, long version, com.fasterxml.jackson.databind.node.ObjectNode source)
-
Method Summary
Modifier and Type Method Description com.fasterxml.jackson.databind.node.ObjectNode
getActionAndMetaDataNode(com.fasterxml.jackson.databind.ObjectMapper objectMapper, ElasticsearchCompatibility elasticsearchCompatibility)
long
getVersion()
void
setVersion(long version)
Methods inherited from class com.flowable.indexing.job.impl.IndexBulkRequestItem
getSource, getSourceNode, setSource
Methods inherited from class com.flowable.indexing.job.impl.AbstractBulkRequestItem
getId, getIndex, setId, setIndex
-
Field Details
-
version
protected long version
-
-
Constructor Details
-
IndexWithExternalVersionBulkRequestItem
public IndexWithExternalVersionBulkRequestItem(java.lang.String index, java.lang.String id, long version, com.fasterxml.jackson.databind.node.ObjectNode source)
-
-
Method Details
-
getActionAndMetaDataNode
public com.fasterxml.jackson.databind.node.ObjectNode getActionAndMetaDataNode(com.fasterxml.jackson.databind.ObjectMapper objectMapper, ElasticsearchCompatibility elasticsearchCompatibility)- Specified by:
getActionAndMetaDataNode
in interfaceBulkRequestItem
- Overrides:
getActionAndMetaDataNode
in classIndexBulkRequestItem
-
getVersion
public long getVersion() -
setVersion
public void setVersion(long version)
-