Class IndexSegment
java.lang.Object
co.elastic.clients.elasticsearch.indices.segments.IndexSegment
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class IndexSegment extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIndexSegment.BuilderBuilder forIndexSegment. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IndexSegment>_DESERIALIZERJson deserializer forIndexSegment -
Method Summary
Modifier and Type Method Description static IndexSegmentof(java.util.function.Function<IndexSegment.Builder,ObjectBuilder<IndexSegment>> 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 voidsetupIndexSegmentDeserializer(ObjectDeserializer<IndexSegment.Builder> op)java.util.Map<java.lang.String,java.util.List<ShardsSegment>>shards()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 forIndexSegment
-
-
Method Details
-
of
public static IndexSegment of(java.util.function.Function<IndexSegment.Builder,ObjectBuilder<IndexSegment>> fn) -
shards
Required - API name:shards -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupIndexSegmentDeserializer
-