public class DefaultShardOperationFailedException extends Object implements ShardOperationFailedException
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
DefaultShardOperationFailedException() |
|
DefaultShardOperationFailedException(ElasticsearchException e) |
|
DefaultShardOperationFailedException(String index,
int shardId,
Throwable t) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Throwable |
getCause()
The cause of this failure.
|
String |
index()
The index the operation failed on.
|
void |
readFrom(StreamInput in) |
static DefaultShardOperationFailedException |
readShardOperationFailed(StreamInput in) |
String |
reason()
The reason of the failure.
|
int |
shardId()
The shard the operation failed on.
|
RestStatus |
status()
The status of the failure.
|
String |
toString() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
protected DefaultShardOperationFailedException()
public DefaultShardOperationFailedException(ElasticsearchException e)
public String index()
ShardOperationFailedExceptionindex インタフェース内 ShardOperationFailedExceptionpublic int shardId()
ShardOperationFailedExceptionshardId インタフェース内 ShardOperationFailedExceptionpublic String reason()
ShardOperationFailedExceptionreason インタフェース内 ShardOperationFailedExceptionpublic RestStatus status()
ShardOperationFailedExceptionstatus インタフェース内 ShardOperationFailedExceptionpublic Throwable getCause()
ShardOperationFailedExceptiongetCause インタフェース内 ShardOperationFailedExceptionpublic static DefaultShardOperationFailedException readShardOperationFailed(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamableIOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionCopyright © 2009–2016. All rights reserved.