Class SegmentsResponse
- java.lang.Object
-
- org.opensearch.client.opensearch.indices.SegmentsResponse
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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:_shards
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<SegmentsResponse> _DESERIALIZER
Json deserializer forSegmentsResponse
-
-
Method Detail
-
of
public static SegmentsResponse of(java.util.function.Function<SegmentsResponse.Builder,ObjectBuilder<SegmentsResponse>> fn)
-
indices
public final java.util.Map<java.lang.String,IndexSegment> indices()
Required - API name:indices
-
shards
public final ShardStatistics shards()
Required - API name:_shards
-
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)
-
setupSegmentsResponseDeserializer
protected static void setupSegmentsResponseDeserializer(ObjectDeserializer<SegmentsResponse.Builder> op)
-
-