Class NodesResponseBase

All Implemented Interfaces:
Direct Known Subclasses:
ClusterStatsResponse, NodesInfoResponse, NodesStatsResponse, NodesUsageResponse, ReloadSecureSettingsResponse

public abstract class NodesResponseBase
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Constructor Details

  • Method Details

    • nodeStats

      public final NodeStatistics nodeStats()
      Required - Contains statistics about the number of nodes selected by the request’s node filters.

      API name: _nodes

    • serialize

      public void serialize​( generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​( generator, JsonpMapper mapper)
    • setupNodesResponseBaseDeserializer

      protected static <BuilderT extends NodesResponseBase.AbstractBuilder<BuilderT>> void setupNodesResponseBaseDeserializer​(ObjectDeserializer<BuilderT> op)