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 withRefreshPolicy(RefreshPolicy refreshPolicy)
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.Builder withAbortOnVersionConflict(Boolean abortOnVersionConflict)
public UpdateQuery.Builder withBatchSize(Integer batchSize)
public UpdateQuery.Builder withMaxDocs(Integer maxDocs)
public UpdateQuery.Builder withMaxRetries(Integer maxRetries)
public UpdateQuery.Builder withPipeline(String pipeline)
public UpdateQuery.Builder withRequestsPerSecond(Float requestsPerSecond)
public UpdateQuery.Builder withShouldStoreResult(Boolean shouldStoreResult)
public UpdateQuery.Builder withSlices(Integer slices)
public UpdateQuery.Builder withScriptType(ScriptType scriptType)
public UpdateQuery.Builder withScriptName(String scriptName)
public UpdateQuery build()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.