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 longversion -
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.ObjectNodegetActionAndMetaDataNode(com.fasterxml.jackson.databind.ObjectMapper objectMapper, ElasticsearchCompatibility elasticsearchCompatibility)longgetVersion()voidsetVersion(long version)Methods inherited from class com.flowable.indexing.job.impl.IndexBulkRequestItem
getSource, getSourceNode, setSourceMethods 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:
getActionAndMetaDataNodein interfaceBulkRequestItem- Overrides:
getActionAndMetaDataNodein classIndexBulkRequestItem
-
getVersion
public long getVersion() -
setVersion
public void setVersion(long version)
-