| Package | Description |
|---|---|
| org.elasticsearch.action.bulk | |
| org.elasticsearch.action.delete |
Delete action.
|
| org.elasticsearch.client |
The client module allowing to easily perform actions/operations.
|
| org.elasticsearch.client.support |
| Modifier and Type | Method and Description |
|---|---|
BulkRequest |
BulkRequest.add(DeleteRequest request)
Adds an
DeleteRequest to the list of actions to execute. |
BulkProcessor |
BulkProcessor.add(DeleteRequest request)
Adds an
DeleteRequest to the list of actions to execute. |
BulkRequestBuilder |
BulkRequestBuilder.add(DeleteRequest request)
Adds an
DeleteRequest to the list of actions to execute. |
BulkRequest |
BulkRequest.add(DeleteRequest request,
Object payload) |
| Modifier and Type | Method and Description |
|---|---|
DeleteRequest |
DeleteRequest.id(String id)
Sets the id of the document to delete.
|
DeleteRequest |
DeleteRequest.parent(String parent)
Sets the parent id of this document.
|
DeleteRequest |
DeleteRequest.refresh(boolean refresh)
Should a refresh be executed post this index operation causing the operation to
be searchable.
|
DeleteRequest |
DeleteRequest.routing(String routing)
Controls the shard routing of the request.
|
DeleteRequest |
DeleteRequest.type(String type)
Sets the type of the document to delete.
|
DeleteRequest |
DeleteRequest.version(long version)
Sets the version, which will cause the delete operation to only be performed if a matching
version exists and no changes happened on the doc since then.
|
DeleteRequest |
DeleteRequest.versionType(VersionType versionType) |
| Modifier and Type | Method and Description |
|---|---|
protected Tuple<DeleteResponse,DeleteRequest> |
TransportDeleteAction.shardOperationOnPrimary(MetaData metaData,
DeleteRequest request) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransportDeleteAction.doExecute(Task task,
DeleteRequest request,
ActionListener<DeleteResponse> listener) |
static TransportReplicationAction.WriteResult<DeleteResponse> |
TransportDeleteAction.executeDeleteRequestOnPrimary(DeleteRequest request,
IndexShard indexShard) |
static Engine.Delete |
TransportDeleteAction.executeDeleteRequestOnReplica(DeleteRequest request,
IndexShard indexShard) |
static void |
TransportDeleteAction.resolveAndValidateRouting(MetaData metaData,
String concreteIndex,
DeleteRequest request) |
protected void |
TransportDeleteAction.resolveRequest(MetaData metaData,
String concreteIndex,
DeleteRequest request) |
protected Tuple<DeleteResponse,DeleteRequest> |
TransportDeleteAction.shardOperationOnPrimary(MetaData metaData,
DeleteRequest request) |
protected void |
TransportDeleteAction.shardOperationOnReplica(DeleteRequest request) |
| Constructor and Description |
|---|
DeleteRequest(DeleteRequest request)
Copy constructor that creates a new delete request that is a copy of the one provided as an argument.
|
DeleteRequest(DeleteRequest request,
ActionRequest originalRequest)
Copy constructor that creates a new delete request that is a copy of the one provided as an argument.
|
| Modifier and Type | Method and Description |
|---|---|
static DeleteRequest |
Requests.deleteRequest(String index)
Creates a delete request against a specific index.
|
| Modifier and Type | Method and Description |
|---|---|
ActionFuture<DeleteResponse> |
Client.delete(DeleteRequest request)
Deletes a document from the index based on the index, type and id.
|
void |
Client.delete(DeleteRequest request,
ActionListener<DeleteResponse> listener)
Deletes a document from the index based on the index, type and id.
|
| Modifier and Type | Method and Description |
|---|---|
ActionFuture<DeleteResponse> |
AbstractClient.delete(DeleteRequest request) |
void |
AbstractClient.delete(DeleteRequest request,
ActionListener<DeleteResponse> listener) |
Copyright © 2009–2017. All rights reserved.