Class ShardProfile
- java.lang.Object
-
- org.opensearch.client.opensearch.core.search.ShardProfile
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<AggregationProfile>aggregations()Required - API name:aggregationsFetchProfilefetch()API name:fetchjava.lang.Stringid()Required - API name:idstatic ShardProfileof(java.util.function.Function<ShardProfile.Builder,ObjectBuilder<ShardProfile>> fn)java.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(ObjectDeserializer<ShardProfile.Builder> op)
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<ShardProfile> _DESERIALIZER
Json deserializer forShardProfile
-
-
Method Detail
-
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:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupShardProfileDeserializer
protected static void setupShardProfileDeserializer(ObjectDeserializer<ShardProfile.Builder> op)
-
-