public static class BulkItemResponse.Failure extends Object implements Writeable<BulkItemResponse.Failure>, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| 修飾子とタイプ | フィールドと説明 |
|---|---|
static BulkItemResponse.Failure |
PROTOTYPE |
EMPTY_PARAMS| 修飾子とタイプ | メソッドと説明 |
|---|---|
Throwable |
getCause()
The actual cause of the failure.
|
String |
getId()
The id of the action.
|
String |
getIndex()
The index name of the action.
|
String |
getMessage()
The failure message.
|
RestStatus |
getStatus()
The rest status.
|
String |
getType()
The type of the action.
|
BulkItemResponse.Failure |
readFrom(StreamInput in)
Reads a copy of an object with the same type form the stream input
The caller object remains unchanged.
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Writes the current object into the output stream out
|
public static final BulkItemResponse.Failure PROTOTYPE
public String getIndex()
public String getType()
public String getId()
public String getMessage()
public RestStatus getStatus()
public Throwable getCause()
public BulkItemResponse.Failure readFrom(StreamInput in) throws IOException
StreamableReaderreadFrom インタフェース内 StreamableReader<BulkItemResponse.Failure>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
WriteablewriteTo インタフェース内 Writeable<BulkItemResponse.Failure>IOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionCopyright © 2009–2016. All rights reserved.