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 | |
org.elasticsearch.client.transport |
Modifier and Type | Method and Description |
---|---|
BulkProcessor |
BulkProcessor.add(DeleteRequest request)
Adds an
DeleteRequest to the list of actions to execute. |
BulkRequest |
BulkRequest.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.
|
protected DeleteRequest |
TransportDeleteAction.newReplicaRequestInstance() |
protected DeleteRequest |
TransportDeleteAction.newRequestInstance() |
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 TransportShardReplicationOperationAction.PrimaryResponse<DeleteResponse,DeleteRequest> |
TransportDeleteAction.shardOperationOnPrimary(ClusterState clusterState,
TransportShardReplicationOperationAction.PrimaryOperationRequest shardRequest) |
Modifier and Type | Method and Description |
---|---|
protected void |
TransportDeleteAction.doExecute(DeleteRequest request,
ActionListener<DeleteResponse> listener) |
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) |
Modifier and Type | Method and Description |
---|---|
ActionFuture<DeleteResponse> |
TransportClient.delete(DeleteRequest request) |
void |
TransportClient.delete(DeleteRequest request,
ActionListener<DeleteResponse> listener) |
Copyright © 2009–2015. All rights reserved.