public class UpdateByQuerySourceBuilder extends Object implements org.elasticsearch.common.xcontent.ToXContent
| Constructor and Description |
|---|
UpdateByQuerySourceBuilder() |
| Modifier and Type | Method and Description |
|---|---|
UpdateByQuerySourceBuilder |
addScriptParam(String name,
String value) |
org.elasticsearch.common.bytes.BytesReference |
buildAsBytes(org.elasticsearch.common.xcontent.XContentType contentType) |
UpdateByQuerySourceBuilder |
query(org.elasticsearch.common.bytes.BytesReference queryBinary) |
UpdateByQuerySourceBuilder |
query(org.elasticsearch.index.query.QueryBuilder query) |
UpdateByQuerySourceBuilder |
script(String script) |
UpdateByQuerySourceBuilder |
scriptFile(String scriptFile) |
UpdateByQuerySourceBuilder |
scriptLang(String scriptLang) |
UpdateByQuerySourceBuilder |
scriptParams(Map<String,Object> scriptParams) |
org.elasticsearch.common.xcontent.XContentBuilder |
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder,
org.elasticsearch.common.xcontent.ToXContent.Params params) |
public UpdateByQuerySourceBuilder query(org.elasticsearch.index.query.QueryBuilder query)
public UpdateByQuerySourceBuilder query(org.elasticsearch.common.bytes.BytesReference queryBinary)
public UpdateByQuerySourceBuilder script(String script)
public UpdateByQuerySourceBuilder scriptFile(String scriptFile)
public UpdateByQuerySourceBuilder scriptLang(String scriptLang)
public UpdateByQuerySourceBuilder scriptParams(Map<String,Object> scriptParams)
public UpdateByQuerySourceBuilder addScriptParam(String name, String value)
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder,
org.elasticsearch.common.xcontent.ToXContent.Params params)
throws IOException
toXContent in interface org.elasticsearch.common.xcontent.ToXContentIOExceptionpublic org.elasticsearch.common.bytes.BytesReference buildAsBytes(org.elasticsearch.common.xcontent.XContentType contentType)
throws org.elasticsearch.search.builder.SearchSourceBuilderException
org.elasticsearch.search.builder.SearchSourceBuilderExceptionCopyright © 2013-2015. All Rights Reserved.