类 SyncedFlushResponse.ShardFailure

java.lang.Object
org.easysearch.client.SyncedFlushResponse.ShardFailure
所有已实现的接口:
org.easysearch.common.xcontent.ToXContent, org.easysearch.common.xcontent.ToXContentFragment
封闭类:
SyncedFlushResponse

public static final class SyncedFlushResponse.ShardFailure
extends java.lang.Object
implements org.easysearch.common.xcontent.ToXContentFragment
Description of a failed shard copy for an index.
  • 嵌套类概要

    从接口继承的嵌套类/接口 org.easysearch.common.xcontent.ToXContent

    org.easysearch.common.xcontent.ToXContent.DelegatingMapParams, org.easysearch.common.xcontent.ToXContent.MapParams, org.easysearch.common.xcontent.ToXContent.Params
  • 字段概要

    字段
    修饰符和类型 字段 说明
    static java.lang.String FAILURE_REASON_FIELD  
    static java.lang.String ROUTING_FIELD  
    static java.lang.String SHARD_ID_FIELD  

    从接口继承的字段 org.easysearch.common.xcontent.ToXContent

    EMPTY_PARAMS
  • 方法概要

    修饰符和类型 方法 说明
    static SyncedFlushResponse.ShardFailure fromXContent​(org.easysearch.common.xcontent.XContentParser parser)  
    java.lang.String getFailureReason()  
    java.util.Map<java.lang.String,​java.lang.Object> getRouting()  
    int getShardId()  
    org.easysearch.common.xcontent.XContentBuilder toXContent​(org.easysearch.common.xcontent.XContentBuilder builder, org.easysearch.common.xcontent.ToXContent.Params params)  

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    从接口继承的方法 org.easysearch.common.xcontent.ToXContentFragment

    isFragment
  • 字段详细资料

    • SHARD_ID_FIELD

      public static java.lang.String SHARD_ID_FIELD
    • FAILURE_REASON_FIELD

      public static java.lang.String FAILURE_REASON_FIELD
    • ROUTING_FIELD

      public static java.lang.String ROUTING_FIELD
  • 方法详细资料

    • getShardId

      public int getShardId()
      返回:
      Id of the shard whose copy failed
    • getFailureReason

      public java.lang.String getFailureReason()
      返回:
      Reason for failure of the shard copy
    • getRouting

      public java.util.Map<java.lang.String,​java.lang.Object> getRouting()
      返回:
      Additional information about the failure.
    • toXContent

      public org.easysearch.common.xcontent.XContentBuilder toXContent​(org.easysearch.common.xcontent.XContentBuilder builder, org.easysearch.common.xcontent.ToXContent.Params params) throws java.io.IOException
      指定者:
      toXContent 在接口中 org.easysearch.common.xcontent.ToXContent
      抛出:
      java.io.IOException
    • fromXContent

      public static SyncedFlushResponse.ShardFailure fromXContent​(org.easysearch.common.xcontent.XContentParser parser) throws java.io.IOException
      抛出:
      java.io.IOException