类 BroadcastResponse

java.lang.Object
org.easysearch.client.core.BroadcastResponse
直接已知子类:
DataStreamsStatsResponse, ReloadAnalyzersResponse

public class BroadcastResponse
extends java.lang.Object
Represents a response to a request that is broadcast to a collection of shards.
  • 嵌套类概要

    嵌套类
    修饰符和类型 说明
    static class  BroadcastResponse.Shards
    Represents the results of a collection of shards on which a request was executed against.
  • 构造器概要

    构造器
    限定符 构造器 说明
    protected BroadcastResponse​(BroadcastResponse.Shards shards)  
  • 方法概要

    修饰符和类型 方法 说明
    protected static <T extends BroadcastResponse>
    void
    declareShardsField​(org.easysearch.common.xcontent.ConstructingObjectParser<T,​java.lang.Void> PARSER)  
    static BroadcastResponse fromXContent​(org.easysearch.common.xcontent.XContentParser parser)
    Parses a broadcast response.
    BroadcastResponse.Shards shards()
    Represents the shard-level summary of the response execution.

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

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

  • 方法详细资料

    • shards

      public BroadcastResponse.Shards shards()
      Represents the shard-level summary of the response execution.
      返回:
      the shard-level response summary
    • fromXContent

      public static BroadcastResponse fromXContent​(org.easysearch.common.xcontent.XContentParser parser) throws java.io.IOException
      Parses a broadcast response.
      参数:
      parser - the parser
      返回:
      a broadcast response parsed from the specified parser
      抛出:
      java.io.IOException - if an I/O exception occurs parsing the response
    • declareShardsField

      protected static <T extends BroadcastResponse> void declareShardsField​(org.easysearch.common.xcontent.ConstructingObjectParser<T,​java.lang.Void> PARSER)