Class SegmentsResponse
java.lang.Object
co.elastic.clients.elasticsearch.indices.SegmentsResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class SegmentsResponse extends java.lang.Object implements JsonpSerializable
-
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 -
Constructor Summary
Constructors Constructor Description SegmentsResponse(SegmentsResponse.Builder builder)SegmentsResponse(java.util.function.Function<SegmentsResponse.Builder,SegmentsResponse.Builder> fn) -
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,IndexSegment>indices()API name:indicesvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupSegmentsResponseDeserializer(DelegatingDeserializer<SegmentsResponse.Builder> op)ShardStatisticsshards()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
-
-
Constructor Details
-
SegmentsResponse
-
SegmentsResponse
public SegmentsResponse(java.util.function.Function<SegmentsResponse.Builder,SegmentsResponse.Builder> fn)
-
-
Method Details
-
indices
API name:indices -
shards
API name:_shards -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupSegmentsResponseDeserializer
protected static void setupSegmentsResponseDeserializer(DelegatingDeserializer<SegmentsResponse.Builder> op)
-