Class UpsertBulkRequestItem

java.lang.Object
com.flowable.indexing.job.impl.FullDocBulkRequestItem
com.flowable.indexing.job.impl.UpsertBulkRequestItem
All Implemented Interfaces:
BulkRequestItem

public class UpsertBulkRequestItem extends FullDocBulkRequestItem
  • Field Details

    • doc

      protected com.fasterxml.jackson.databind.node.ObjectNode doc
    • script

      protected String script
    • scriptParams

      protected Map<String,Object> scriptParams
  • Constructor Details

    • UpsertBulkRequestItem

      public UpsertBulkRequestItem(String index, String type, String id, com.fasterxml.jackson.databind.node.ObjectNode doc)
    • UpsertBulkRequestItem

      public UpsertBulkRequestItem(String index, String type, String id, com.fasterxml.jackson.databind.node.ObjectNode doc, String script, Map<String,Object> scriptParams)
  • Method Details

    • getActionAndMetaDataNode

      public com.fasterxml.jackson.databind.node.ObjectNode getActionAndMetaDataNode(com.fasterxml.jackson.databind.ObjectMapper objectMapper, ElasticsearchCompatibility elasticsearchCompatibility)
    • getSourceNode

      public com.fasterxml.jackson.databind.node.ObjectNode getSourceNode(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • getDoc

      public com.fasterxml.jackson.databind.node.ObjectNode getDoc()
    • setDoc

      public void setDoc(com.fasterxml.jackson.databind.node.ObjectNode doc)
    • getScript

      public String getScript()
    • setScript

      public void setScript(String script)
    • getScriptParams

      public Map<String,Object> getScriptParams()
    • setScriptParams

      public void setScriptParams(Map<String,Object> scriptParams)