public class GetIndexedScriptRequestBuilder extends ActionRequestBuilder<GetIndexedScriptRequest,GetIndexedScriptResponse,GetIndexedScriptRequestBuilder>
action, client, request
Constructor and Description |
---|
GetIndexedScriptRequestBuilder(ElasticsearchClient client,
GetIndexedScriptAction action) |
Modifier and Type | Method and Description |
---|---|
GetIndexedScriptRequestBuilder |
setId(String id)
Sets the id of the document to fetch.
|
GetIndexedScriptRequestBuilder |
setScriptLang(String type)
Sets the type of the document to fetch.
|
GetIndexedScriptRequestBuilder |
setVersion(long version)
Sets the version, which will cause the get operation to only be performed if a matching
version exists and no changes happened on the doc since then.
|
GetIndexedScriptRequestBuilder |
setVersionType(VersionType versionType)
Sets the versioning type.
|
beforeExecute, execute, execute, get, get, get, putHeader, request
public GetIndexedScriptRequestBuilder(ElasticsearchClient client, GetIndexedScriptAction action)
public GetIndexedScriptRequestBuilder setScriptLang(@Nullable String type)
public GetIndexedScriptRequestBuilder setId(String id)
public GetIndexedScriptRequestBuilder setVersion(long version)
public GetIndexedScriptRequestBuilder setVersionType(VersionType versionType)
VersionType.INTERNAL
.Copyright © 2009–2016. All rights reserved.