public class DeleteResponse extends ActionWriteResponse
ActionWriteResponse.ShardInfoTransportResponse.EmptyEMPTYheaders| コンストラクタと説明 |
|---|
DeleteResponse() |
DeleteResponse(String index,
String type,
String id,
long version,
boolean found) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
String |
getId()
The id of the document deleted.
|
String |
getIndex()
The index the document was deleted from.
|
String |
getType()
The type of the document deleted.
|
long |
getVersion()
The version of the delete operation.
|
boolean |
isFound()
Returns true if a doc was found to delete.
|
void |
readFrom(StreamInput in) |
void |
writeTo(StreamOutput out) |
getShardInfo, setShardInforemoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic String getIndex()
public String getType()
public String getId()
public long getVersion()
public boolean isFound()
public void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamablereadFrom クラス内 ActionWriteResponseIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamablewriteTo クラス内 ActionWriteResponseIOExceptionCopyright © 2009–2016. All rights reserved.