java.lang.Object
org.opensearch.client.opensearch.nodes.info.NodeInfo
All Implemented Interfaces:
JsonpSerializable, PlainJsonSerializable, ToCopyableBuilder<NodeInfo.Builder,NodeInfo>

@JsonpDeserializable @Generated("org.opensearch.client.codegen.CodeGenerator") public class NodeInfo extends Object implements PlainJsonSerializable, ToCopyableBuilder<NodeInfo.Builder,NodeInfo>
  • Field Details

  • Method Details

    • of

    • aggregations

      @Nonnull public final Map<String,NodeInfoAggregation> aggregations()
      Information about available aggregation types.

      API name: aggregations

    • attributes

      @Nonnull public final Map<String,String> attributes()
      The custom attributes of the node.

      API name: attributes

    • buildFlavor

      @Nullable public final String buildFlavor()
      API name: build_flavor
    • buildHash

      @Nonnull public final String buildHash()
      Required - Short hash of the last git commit in this release.

      API name: build_hash

    • buildType

      @Nonnull public final String buildType()
      Required - The type of build, such as tar, docker, rpm.

      API name: build_type

    • host

      @Nullable public final String host()
      API name: host
    • http

      @Nullable public final NodeInfoHttp http()
      API name: http
    • ingest

      @Nullable public final NodeInfoIngest ingest()
      API name: ingest
    • ip

      @Nullable public final String ip()
      API name: ip
    • jvm

      @Nullable public final NodeJvmInfo jvm()
      API name: jvm
    • modules

      @Nonnull public final List<PluginStats> modules()
      The list of modules installed on the node.

      API name: modules

    • name

      @Nonnull public final String name()
      Required - API name: name
    • network

      @Nullable public final NodeInfoNetwork network()
      API name: network
    • os

      @Nullable public final NodeOperatingSystemInfo os()
      API name: os
    • plugins

      @Nonnull public final List<PluginStats> plugins()
      The list of plugins installed on the node.

      API name: plugins

    • process

      @Nullable public final NodeProcessInfo process()
      API name: process
    • roles

      @Nonnull public final List<NodeRole> roles()
      Required - API name: roles
    • searchPipelines

      @Nullable public final NodeInfoSearchPipelines searchPipelines()
      API name: search_pipelines
    • settings

      @Nullable public final NodeInfoSettings settings()
      API name: settings
    • threadPool

      @Nonnull public final Map<String,NodeThreadPoolInfo> threadPool()
      Information about thread pool configurations.

      API name: thread_pool

    • totalIndexingBuffer

      @Nullable public final JsonData totalIndexingBuffer()
      Total heap allowed to be used to hold recently indexed documents before they must be written to disk. This size is a shared pool across all shards on this node, and is controlled by Indexing Buffer settings.

      API name: total_indexing_buffer

    • totalIndexingBufferInBytes

      @Nullable public final JsonData totalIndexingBufferInBytes()
      API name: total_indexing_buffer_in_bytes
    • transport

      @Nullable public final NodeInfoTransport transport()
      API name: transport
    • transportAddress

      @Nullable public final String transportAddress()
      API name: transport_address
    • version

      @Nonnull public final String version()
      Required - API name: version
    • serialize

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

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toBuilder

      @Nonnull public NodeInfo.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Create a new builder ToCopyableBuilder that is initialised with the current state of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<NodeInfo.Builder,NodeInfo>
      Returns:
      a new builder instance.
    • builder

      @Nonnull public static NodeInfo.Builder builder()
    • setupNodeInfoDeserializer

      protected static void setupNodeInfoDeserializer(ObjectDeserializer<NodeInfo.Builder> op)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object