Enum Class CatSegmentsColumn
- All Implemented Interfaces:
JsonEnum,JsonpSerializable,Serializable,Comparable<CatSegmentsColumn>,Constable
@JsonpDeserializable
public enum CatSegmentsColumn
extends Enum<CatSegmentsColumn>
implements JsonEnum
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface co.elastic.clients.json.JsonEnum
JsonEnum.Deserializer<T extends JsonEnum> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIf 'true', the segments is synced to disk.If 'true', the segment is stored in a compound file.The number of documents as reported by Lucene.The number of deleted documents as reported by Lucene, which may be higher or lower than the number of delete operations you have performed.Generation number, such as '0'.The ID of the node, such as 'k0zy'.The name of the index.IP address of the segment’s shard, such as '127.0.1.1'.The shard type.If 'true', the segment is searchable.The name of the segment, such as '_0'.The name of the shard.The disk space used by the segment, such as '50kb'.The bytes of segment data stored in memory for efficient search, such as '1264'.The version of Lucene used to write the segment. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionString[]aliases()static CatSegmentsColumnReturns the enum constant of this class with the specified name.static CatSegmentsColumn[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Index
The name of the index. -
Shard
The name of the shard. -
Prirep
The shard type. Returned values are 'primary' or 'replica'. -
Ip
IP address of the segment’s shard, such as '127.0.1.1'. -
Segment
The name of the segment, such as '_0'. The segment name is derived from the segment generation and used internally to create file names in the directory of the shard. -
Generation
Generation number, such as '0'. Elasticsearch increments this generation number for each segment written. Elasticsearch then uses this number to derive the segment name. -
DocsCount
The number of documents as reported by Lucene. This excludes deleted documents and counts any nested documents separately from their parents. It also excludes documents which were indexed recently and do not yet belong to a segment. -
DocsDeleted
The number of deleted documents as reported by Lucene, which may be higher or lower than the number of delete operations you have performed. This number excludes deletes that were performed recently and do not yet belong to a segment. Deleted documents are cleaned up by the automatic merge process if it makes sense to do so. Also, Elasticsearch creates extra deleted documents to internally track the recent history of operations on a shard. -
Size
The disk space used by the segment, such as '50kb'. -
SizeMemory
The bytes of segment data stored in memory for efficient search, such as '1264'. A value of '-1' indicates Elasticsearch was unable to compute this number. -
Committed
If 'true', the segments is synced to disk. Segments that are synced can survive a hard reboot. If 'false', the data from uncommitted segments is also stored in the transaction log so that Elasticsearch is able to replay changes on the next start. -
Searchable
If 'true', the segment is searchable. If 'false', the segment has most likely been written to disk but needs a refresh to be searchable. -
Version
The version of Lucene used to write the segment. -
Compound
If 'true', the segment is stored in a compound file. This means Lucene merged all files from the segment in a single file to save file descriptors. -
Id
The ID of the node, such as 'k0zy'.
-
-
Field Details
-
_DESERIALIZER
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
jsonValue
-
aliases
-