Class SegmentsRecord
java.lang.Object
co.elastic.clients.elasticsearch.cat.segments.SegmentsRecord
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class SegmentsRecord extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSegmentsRecord.BuilderBuilder forSegmentsRecord. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SegmentsRecord>_DESERIALIZERJson deserializer forSegmentsRecord -
Method Summary
Modifier and Type Method Description java.lang.Stringcommitted()is segment committedjava.lang.Stringcompound()is segment compoundjava.lang.StringdocsCount()number of docs in segmentjava.lang.StringdocsDeleted()number of deleted docs in segmentjava.lang.Stringgeneration()segment generationjava.lang.Stringid()unique id of node where it livesjava.lang.Stringindex()index namejava.lang.Stringip()ip of node where it livesstatic SegmentsRecordof(java.util.function.Function<SegmentsRecord.Builder,ObjectBuilder<SegmentsRecord>> fn)java.lang.Stringprirep()primary or replicajava.lang.Stringsearchable()is segment searchedjava.lang.Stringsegment()segment namevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupSegmentsRecordDeserializer(ObjectDeserializer<SegmentsRecord.Builder> op)java.lang.Stringshard()shard namejava.lang.Stringsize()segment size in bytesjava.lang.StringsizeMemory()segment memory in bytesjava.lang.StringtoString()java.lang.Stringversion()versionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forSegmentsRecord
-
-
Method Details
-
of
public static SegmentsRecord of(java.util.function.Function<SegmentsRecord.Builder,ObjectBuilder<SegmentsRecord>> fn) -
index
@Nullable public final java.lang.String index()index nameAPI name:
index -
shard
@Nullable public final java.lang.String shard()shard nameAPI name:
shard -
prirep
@Nullable public final java.lang.String prirep()primary or replicaAPI name:
prirep -
ip
@Nullable public final java.lang.String ip()ip of node where it livesAPI name:
ip -
id
@Nullable public final java.lang.String id()unique id of node where it livesAPI name:
id -
segment
@Nullable public final java.lang.String segment()segment nameAPI name:
segment -
generation
@Nullable public final java.lang.String generation()segment generationAPI name:
generation -
docsCount
@Nullable public final java.lang.String docsCount()number of docs in segmentAPI name:
docs.count -
docsDeleted
@Nullable public final java.lang.String docsDeleted()number of deleted docs in segmentAPI name:
docs.deleted -
size
@Nullable public final java.lang.String size()segment size in bytesAPI name:
size -
sizeMemory
@Nullable public final java.lang.String sizeMemory()segment memory in bytesAPI name:
size.memory -
committed
@Nullable public final java.lang.String committed()is segment committedAPI name:
committed -
searchable
@Nullable public final java.lang.String searchable()is segment searchedAPI name:
searchable -
version
@Nullable public final java.lang.String version()versionAPI name:
version -
compound
@Nullable public final java.lang.String compound()is segment compoundAPI name:
compound -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupSegmentsRecordDeserializer
protected static void setupSegmentsRecordDeserializer(ObjectDeserializer<SegmentsRecord.Builder> op)
-