Class ShardProfile

java.lang.Object
co.elastic.clients.elasticsearch.core.search.ShardProfile
All Implemented Interfaces:
JsonpSerializable

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

  • Method Details

    • of

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

      public final java.util.List<AggregationProfile> aggregations()
      Required - API name: aggregations
    • id

      public final java.lang.String id()
      Required - API name: id
    • searches

      public final java.util.List<SearchProfile> searches()
      Required - API name: searches
    • fetch

      @Nullable public final FetchProfile fetch()
      API name: fetch
    • 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
    • setupShardProfileDeserializer

      protected static void setupShardProfileDeserializer​(ObjectDeserializer<ShardProfile.Builder> op)