Class ShardProfile
java.lang.Object
co.elastic.clients.elasticsearch.core.search.ShardProfile
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class ShardProfile extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShardProfile.BuilderBuilder forShardProfile. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ShardProfile>_DESERIALIZERJson deserializer forShardProfile -
Constructor Summary
Constructors Constructor Description ShardProfile(ShardProfile.Builder builder)ShardProfile(java.util.function.Function<ShardProfile.Builder,ShardProfile.Builder> fn) -
Method Summary
Modifier and Type Method Description java.util.List<AggregationProfile>aggregations()Required - API name:aggregationsjava.lang.Stringid()Required - API name:idjava.util.List<SearchProfile>searches()Required - API name:searchesvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupShardProfileDeserializer(DelegatingDeserializer<ShardProfile.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forShardProfile
-
-
Constructor Details
-
ShardProfile
-
ShardProfile
-
-
Method Details
-
aggregations
Required - API name:aggregations -
id
public java.lang.String id()Required - API name:id -
searches
Required - API name:searches -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupShardProfileDeserializer
protected static void setupShardProfileDeserializer(DelegatingDeserializer<ShardProfile.Builder> op)
-