public class DeleteIndexedScriptRequestBuilder extends ActionRequestBuilder<DeleteIndexedScriptRequest,DeleteIndexedScriptResponse,DeleteIndexedScriptRequestBuilder,Client>
client, request
Constructor and Description |
---|
DeleteIndexedScriptRequestBuilder(Client client) |
Modifier and Type | Method and Description |
---|---|
protected void |
doExecute(ActionListener<DeleteIndexedScriptResponse> listener) |
DeleteIndexedScriptRequestBuilder |
setId(String id)
Sets the id of the document to delete.
|
DeleteIndexedScriptRequestBuilder |
setScriptLang(String scriptLang)
Sets the language of the script to delete.
|
DeleteIndexedScriptRequestBuilder |
setVersionType(VersionType versionType)
Sets the type of versioning to use.
|
execute, execute, get, get, get, putHeader, request, setListenerThreaded
public DeleteIndexedScriptRequestBuilder(Client client)
public DeleteIndexedScriptRequestBuilder setScriptLang(String scriptLang)
public DeleteIndexedScriptRequestBuilder setId(String id)
public DeleteIndexedScriptRequestBuilder setVersionType(VersionType versionType)
VersionType.INTERNAL
.protected void doExecute(ActionListener<DeleteIndexedScriptResponse> listener)
Copyright © 2009–2015. All rights reserved.