Class ShardsSegment
java.lang.Object
co.elastic.clients.elasticsearch.indices.segments.ShardsSegment
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ShardsSegment extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShardsSegment.BuilderBuilder forShardsSegment. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ShardsSegment>_DESERIALIZERJson deserializer forShardsSegment -
Method Summary
Modifier and Type Method Description intnumCommittedSegments()Required - API name:num_committed_segmentsintnumSearchSegments()Required - API name:num_search_segmentsstatic ShardsSegmentof(java.util.function.Function<ShardsSegment.Builder,ObjectBuilder<ShardsSegment>> fn)ShardSegmentRoutingrouting()Required - API name:routingjava.util.Map<java.lang.String,Segment>segments()Required - API name:segmentsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupShardsSegmentDeserializer(ObjectDeserializer<ShardsSegment.Builder> op)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forShardsSegment
-
-
Method Details
-
of
public static ShardsSegment of(java.util.function.Function<ShardsSegment.Builder,ObjectBuilder<ShardsSegment>> fn) -
numCommittedSegments
public final int numCommittedSegments()Required - API name:num_committed_segments -
routing
Required - API name:routing -
numSearchSegments
public final int numSearchSegments()Required - API name:num_search_segments -
segments
Required - API name:segments -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupShardsSegmentDeserializer
-