public static final class UpdateQuery.Builder extends Object
public UpdateQuery.Builder withScript(String script)
public UpdateQuery.Builder withParams(Map<String,Object> params)
public UpdateQuery.Builder withDocument(Document document)
public UpdateQuery.Builder withUpsert(Document upsert)
public UpdateQuery.Builder withLang(String lang)
public UpdateQuery.Builder withRouting(String routing)
public UpdateQuery.Builder withScriptedUpsert(Boolean scriptedUpsert)
public UpdateQuery.Builder withDocAsUpsert(Boolean docAsUpsert)
public UpdateQuery.Builder withFetchSource(Boolean fetchSource)
public UpdateQuery.Builder withIfSeqNo(Integer ifSeqNo)
public UpdateQuery.Builder withIfPrimaryTerm(Integer ifPrimaryTerm)
public UpdateQuery.Builder withRefresh(UpdateQuery.Refresh refresh)
public UpdateQuery.Builder withRetryOnConflict(Integer retryOnConflict)
public UpdateQuery.Builder withTimeout(String timeout)
public UpdateQuery.Builder withWaitForActiveShards(String waitForActiveShards)
public UpdateQuery.Builder withFetchSourceIncludes(List<String> fetchSourceIncludes)
public UpdateQuery.Builder withFetchSourceExcludes(List<String> fetchSourceExcludes)
public UpdateQuery build()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.