Class ClusterSearchShardsResponse

java.lang.Object
All Implemented Interfaces:
Writeable, org.elasticsearch.common.util.concurrent.RefCounted, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentObject

public class ClusterSearchShardsResponse
extends ActionResponse
implements org.elasticsearch.common.xcontent.ToXContentObject
  • Constructor Details

    • ClusterSearchShardsResponse

      public ClusterSearchShardsResponse​(StreamInput in) throws java.io.IOException
      Throws:
      java.io.IOException
    • ClusterSearchShardsResponse

      public ClusterSearchShardsResponse​(ClusterSearchShardsGroup[] groups, DiscoveryNode[] nodes, java.util.Map<java.lang.String,​AliasFilter> indicesAndFilters)
  • Method Details

    • writeTo

      public void writeTo​(StreamOutput out) throws java.io.IOException
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Throws:
      java.io.IOException
    • getGroups

      public ClusterSearchShardsGroup[] getGroups()
    • getNodes

      public DiscoveryNode[] getNodes()
    • getIndicesAndFilters

      public java.util.Map<java.lang.String,​AliasFilter> getIndicesAndFilters()
    • toXContent

      public org.elasticsearch.common.xcontent.XContentBuilder toXContent​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException
      Specified by:
      toXContent in interface org.elasticsearch.common.xcontent.ToXContent
      Throws:
      java.io.IOException