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 SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface co.elastic.clients.json.JsonEnumJsonEnum.Deserializer<T extends JsonEnum>
- 
Enum Constant SummaryEnum 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 SummaryFields
- 
Method SummaryModifier 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- 
IndexThe name of the index.
- 
ShardThe name of the shard.
- 
PrirepThe shard type. Returned values are 'primary' or 'replica'.
- 
IpIP address of the segment’s shard, such as '127.0.1.1'.
- 
SegmentThe 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.
- 
GenerationGeneration number, such as '0'. Elasticsearch increments this generation number for each segment written. Elasticsearch then uses this number to derive the segment name.
- 
DocsCountThe 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.
- 
DocsDeletedThe 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.
- 
SizeThe disk space used by the segment, such as '50kb'.
- 
SizeMemoryThe 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.
- 
CommittedIf '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.
- 
SearchableIf 'true', the segment is searchable. If 'false', the segment has most likely been written to disk but needs a refresh to be searchable.
- 
VersionThe version of Lucene used to write the segment.
- 
CompoundIf '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.
- 
IdThe ID of the node, such as 'k0zy'.
 
- 
- 
Field Details- 
_DESERIALIZER
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- 
jsonValue
- 
aliases
 
-