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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShardProfile.Builder
Builder forShardProfile
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ShardProfile>
_DESERIALIZER
Json deserializer forShardProfile
-
Method Summary
Modifier and Type Method Description java.util.List<AggregationProfile>
aggregations()
Required - API name:aggregations
FetchProfile
fetch()
API name:fetch
java.lang.String
id()
Required - API name:id
static ShardProfile
of(java.util.function.Function<ShardProfile.Builder,ObjectBuilder<ShardProfile>> fn)
java.util.List<SearchProfile>
searches()
Required - API name:searches
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupShardProfileDeserializer(ObjectDeserializer<ShardProfile.Builder> op)
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forShardProfile
-
-
Method Details
-
of
public static ShardProfile of(java.util.function.Function<ShardProfile.Builder,ObjectBuilder<ShardProfile>> fn) -
aggregations
Required - API name:aggregations
-
id
public final java.lang.String id()Required - API name:id
-
searches
Required - API name:searches
-
fetch
API name:fetch
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupShardProfileDeserializer
-