java.lang.Object
org.springframework.data.elasticsearch.core.query.UpdateQuery

public class UpdateQuery extends Object
Defines an update request.
Author:
Rizwan Idrees, Mohsin Husen, Peter-Josef Meisch, Farid Faoudi
See Also:
  • Method Details

    • builder

      public static UpdateQuery.Builder builder(String id)
    • builder

      public static UpdateQuery.Builder builder(Query query)
    • getId

      public String getId()
    • getScript

      @Nullable public String getScript()
    • getParams

      @Nullable public Map<String,Object> getParams()
    • getDocument

      @Nullable public Document getDocument()
    • getUpsert

      @Nullable public Document getUpsert()
    • getLang

      @Nullable public String getLang()
    • getRouting

      @Nullable public String getRouting()
    • getScriptedUpsert

      @Nullable public Boolean getScriptedUpsert()
    • getDocAsUpsert

      @Nullable public Boolean getDocAsUpsert()
    • getFetchSource

      @Nullable public Boolean getFetchSource()
    • getFetchSourceIncludes

      @Nullable public List<String> getFetchSourceIncludes()
    • getFetchSourceExcludes

      @Nullable public List<String> getFetchSourceExcludes()
    • getIfSeqNo

      @Nullable public Integer getIfSeqNo()
    • getIfPrimaryTerm

      @Nullable public Integer getIfPrimaryTerm()
    • getRefreshPolicy

      @Nullable public RefreshPolicy getRefreshPolicy()
    • getRetryOnConflict

      @Nullable public Integer getRetryOnConflict()
    • getTimeout

      @Nullable public String getTimeout()
    • getWaitForActiveShards

      @Nullable public String getWaitForActiveShards()
    • getQuery

      @Nullable public Query getQuery()
    • getAbortOnVersionConflict

      @Nullable public Boolean getAbortOnVersionConflict()
    • getBatchSize

      @Nullable public Integer getBatchSize()
    • getMaxDocs

      @Nullable public Integer getMaxDocs()
    • getMaxRetries

      @Nullable public Integer getMaxRetries()
    • getPipeline

      @Nullable public String getPipeline()
    • getRequestsPerSecond

      @Nullable public Float getRequestsPerSecond()
    • getShouldStoreResult

      @Nullable public Boolean getShouldStoreResult()
    • getSlices

      @Nullable public Integer getSlices()
    • getScriptType

      @Nullable public ScriptType getScriptType()
    • getScriptName

      @Nullable public String getScriptName()
    • getIndexName

      @Nullable public String getIndexName()
      Since:
      4.4
    • getScriptData

      @Nullable public ScriptData getScriptData()
      Since:
      4.4