Class Discovery

java.lang.Object
co.elastic.clients.elasticsearch.nodes.Discovery
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable
public class Discovery
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static Discovery of​(java.util.function.Function<Discovery.Builder,​ObjectBuilder<Discovery>> fn)
    • clusterStateQueue

      @Nullable public final ClusterStateQueue clusterStateQueue()
      API name: cluster_state_queue
    • publishedClusterStates

      @Nullable public final PublishedClusterStates publishedClusterStates()
      API name: published_cluster_states
    • clusterStateUpdate

      public final java.util.Map<java.lang.String,​ClusterStateUpdate> clusterStateUpdate()
      API name: cluster_state_update
    • serializedClusterStates

      @Nullable public final SerializedClusterState serializedClusterStates()
      API name: serialized_cluster_states
    • clusterApplierStats

      @Nullable public final ClusterAppliedStats clusterApplierStats()
      API name: cluster_applier_stats
    • 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)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • setupDiscoveryDeserializer

      protected static void setupDiscoveryDeserializer​(ObjectDeserializer<Discovery.Builder> op)