类 NodesResponse

java.lang.Object
org.easysearch.client.NodesResponse
直接已知子类:
SecurityNodesResponse

public abstract class NodesResponse
extends java.lang.Object
Base class for responses that are node responses. These responses always contain the cluster name and the NodesResponseHeader.
  • 构造器概要

    构造器
    限定符 构造器 说明
    protected NodesResponse​(NodesResponseHeader header, java.lang.String clusterName)  
  • 方法概要

    修饰符和类型 方法 说明
    static <T extends NodesResponse>
    void
    declareCommonNodesResponseParsing​(org.easysearch.common.xcontent.ConstructingObjectParser<T,​java.lang.Void> parser)  
    java.lang.String getClusterName()
    Get the cluster name associated with all of the nodes.
    NodesResponseHeader getHeader()
    Gets information about the number of total, successful and failed nodes the request was run on.

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

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

    • NodesResponse

      protected NodesResponse​(NodesResponseHeader header, java.lang.String clusterName)
  • 方法详细资料

    • getClusterName

      public java.lang.String getClusterName()
      Get the cluster name associated with all of the nodes.
      返回:
      Never null.
    • getHeader

      public NodesResponseHeader getHeader()
      Gets information about the number of total, successful and failed nodes the request was run on. Also includes exceptions if relevant.
    • declareCommonNodesResponseParsing

      public static <T extends NodesResponse> void declareCommonNodesResponseParsing​(org.easysearch.common.xcontent.ConstructingObjectParser<T,​java.lang.Void> parser)