Class AddIndexBlockResponse.AddBlockShardResult.Failure
java.lang.Object
org.opensearch.core.action.ShardOperationFailedException
org.opensearch.core.action.support.DefaultShardOperationFailedException
org.opensearch.action.admin.indices.readonly.AddIndexBlockResponse.AddBlockShardResult.Failure
- All Implemented Interfaces:
org.opensearch.core.common.io.stream.Writeable
,org.opensearch.core.xcontent.ToXContent
,org.opensearch.core.xcontent.ToXContentObject
- Enclosing class:
AddIndexBlockResponse.AddBlockShardResult
@PublicApi(since="1.0.0")
public static class AddIndexBlockResponse.AddBlockShardResult.Failure
extends org.opensearch.core.action.support.DefaultShardOperationFailedException
Contains failure information
- Opensearch.api:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.core.xcontent.ToXContent
org.opensearch.core.xcontent.ToXContent.DelegatingMapParams, org.opensearch.core.xcontent.ToXContent.MapParams, org.opensearch.core.xcontent.ToXContent.Params
Nested classes/interfaces inherited from interface org.opensearch.core.common.io.stream.Writeable
org.opensearch.core.common.io.stream.Writeable.Reader<V>, org.opensearch.core.common.io.stream.Writeable.WriteableRegistry, org.opensearch.core.common.io.stream.Writeable.Writer<V>
-
Field Summary
Fields inherited from class org.opensearch.core.action.support.DefaultShardOperationFailedException
PARSER
Fields inherited from class org.opensearch.core.action.ShardOperationFailedException
cause, index, reason, shardId, status
Fields inherited from interface org.opensearch.core.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.opensearch.core.xcontent.XContentBuilder
innerToXContent
(org.opensearch.core.xcontent.XContentBuilder builder, org.opensearch.core.xcontent.ToXContent.Params params) toString()
void
writeTo
(org.opensearch.core.common.io.stream.StreamOutput out) Methods inherited from class org.opensearch.core.action.support.DefaultShardOperationFailedException
declareFields, fromXContent, readFrom, readShardOperationFailed, toXContent
Methods inherited from class org.opensearch.core.action.ShardOperationFailedException
getCause, index, reason, shardId, status
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opensearch.core.xcontent.ToXContentObject
isFragment
-
Constructor Details
-
Failure
-
Failure
-
-
Method Details
-
getNodeId
-
writeTo
- Specified by:
writeTo
in interfaceorg.opensearch.core.common.io.stream.Writeable
- Overrides:
writeTo
in classorg.opensearch.core.action.support.DefaultShardOperationFailedException
- Throws:
IOException
-
innerToXContent
public org.opensearch.core.xcontent.XContentBuilder innerToXContent(org.opensearch.core.xcontent.XContentBuilder builder, org.opensearch.core.xcontent.ToXContent.Params params) throws IOException - Overrides:
innerToXContent
in classorg.opensearch.core.action.support.DefaultShardOperationFailedException
- Throws:
IOException
-
toString
- Overrides:
toString
in classorg.opensearch.core.action.support.DefaultShardOperationFailedException
-