类 SyncedFlushResponse

java.lang.Object
org.easysearch.client.SyncedFlushResponse
所有已实现的接口:
org.easysearch.common.xcontent.ToXContent, org.easysearch.common.xcontent.ToXContentObject

public class SyncedFlushResponse
extends java.lang.Object
implements org.easysearch.common.xcontent.ToXContentObject
  • 嵌套类概要

    嵌套类
    修饰符和类型 说明
    static class  SyncedFlushResponse.IndexResult
    Description for the flush/synced results for a particular index.
    static class  SyncedFlushResponse.ShardCounts
    Encapsulates the number of total successful and failed shard copies
    static class  SyncedFlushResponse.ShardFailure
    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 SHARDS_FIELD  

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

    EMPTY_PARAMS
  • 方法概要

    修饰符和类型 方法 说明
    int failedShards()  
    static SyncedFlushResponse fromXContent​(org.easysearch.common.xcontent.XContentParser parser)  
    java.util.Map<java.lang.String,​SyncedFlushResponse.IndexResult> getIndexResults()  
    int successfulShards()  
    int totalShards()  
    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.ToXContentObject

    isFragment
  • 字段详细资料

    • SHARDS_FIELD

      public static final java.lang.String SHARDS_FIELD
      另请参阅:
      常量字段值
  • 方法详细资料

    • totalShards

      public int totalShards()
      返回:
      The total number of shard copies that were processed across all indexes
    • successfulShards

      public int successfulShards()
      返回:
      The number of successful shard copies that were processed across all indexes
    • failedShards

      public int failedShards()
      返回:
      The number of failed shard copies that were processed across all indexes
    • getIndexResults

      public java.util.Map<java.lang.String,​SyncedFlushResponse.IndexResult> getIndexResults()
      返回:
      A map of results for each index where the keys of the map are the index names and the values are the results encapsulated in SyncedFlushResponse.IndexResult.
    • 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 fromXContent​(org.easysearch.common.xcontent.XContentParser parser) throws java.io.IOException
      抛出:
      java.io.IOException