java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.CCSStats
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class CCSStats extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • clusters

      public final Map<String,RemoteClusterInfo> clusters()
      Contains remote cluster settings and metrics collected from them. The keys are cluster names, and the values are per-cluster data. Only present if include_remotes option is set to true.

      API name: clusters

    • search

      public final CCSUsageStats search()
      Required - Information about cross-cluster search usage.

      API name: _search

    • esql

      @Nullable public final CCSUsageStats esql()
      Information about ES|QL cross-cluster query usage.

      API name: _esql

    • 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 String toString()
      Overrides:
      toString in class Object
    • setupCCSStatsDeserializer

      protected static void setupCCSStatsDeserializer(ObjectDeserializer<CCSStats.Builder> op)