Class SegmentsResponse
java.lang.Object
co.elastic.clients.elasticsearch.indices.SegmentsResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class SegmentsResponse extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSegmentsResponse.BuilderBuilder forSegmentsResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SegmentsResponse>_DESERIALIZERJson deserializer forSegmentsResponse -
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,IndexSegment>indices()Required - API name:indicesstatic SegmentsResponseof(java.util.function.Function<SegmentsResponse.Builder,ObjectBuilder<SegmentsResponse>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupSegmentsResponseDeserializer(ObjectDeserializer<SegmentsResponse.Builder> op)ShardStatisticsshards()Required - API name:_shardsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forSegmentsResponse
-
-
Method Details
-
of
public static SegmentsResponse of(java.util.function.Function<SegmentsResponse.Builder,ObjectBuilder<SegmentsResponse>> fn) -
indices
Required - API name:indices -
shards
Required - API name:_shards -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupSegmentsResponseDeserializer
protected static void setupSegmentsResponseDeserializer(ObjectDeserializer<SegmentsResponse.Builder> op)
-