Class SegmentsResponse
java.lang.Object
co.elastic.clients.elasticsearch.indices.SegmentsResponse
- All Implemented Interfaces:
- JsonpSerializable
- See Also:
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SegmentsResponse>Json deserializer forSegmentsResponse
- 
Method SummaryModifier and TypeMethodDescriptionfinal Map<String,IndexSegment> indices()Required - API name:indicesstatic SegmentsResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal ShardStatisticsshards()Required - API name:_shardstoString()
- 
Field Details- 
_DESERIALIZERJson deserializer forSegmentsResponse
 
- 
- 
Method Details- 
ofpublic static SegmentsResponse of(Function<SegmentsResponse.Builder, ObjectBuilder<SegmentsResponse>> fn) 
- 
indicesRequired - API name:indices
- 
shardsRequired - API name:_shards
- 
serializeSerialize this object to JSON.- Specified by:
- serializein interface- JsonpSerializable
 
- 
serializeInternal
- 
toString
- 
setupSegmentsResponseDeserializerprotected static void setupSegmentsResponseDeserializer(ObjectDeserializer<SegmentsResponse.Builder> op) 
 
-