Class SegmentsStats
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<SegmentsStats.Builder,SegmentsStats>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SegmentsStats> Json deserializer forSegmentsStats -
Method Summary
Modifier and TypeMethodDescriptionstatic SegmentsStats.Builderbuilder()final intcount()Required - The total number of segments across all shards assigned to the selected nodes.final StringThe human-readable amount of memory used for doc values.final longRequired - The total amount, in bytes, of memory used for document values across all shards assigned to the selected nodes.booleanfinal Map<String, ShardFileSizeInfo> Required - This object is not populated by the cluster stats API.final StringAPI name:fixed_bit_setfinal longRequired - The total amount of memory, in bytes, used by fixed bit sets across all shards assigned to the selected nodes.inthashCode()final LongThe maximum amount of memory, in bytes, used by index writers.final StringThe human-readable amount of memory used by index writers.final longRequired - The total amount, in bytes, of memory used by all index writers across all shards assigned to the selected nodes.final longRequired - The Unix timestamp, in milliseconds, of the most recently retried indexing request.final Stringmemory()The total amount of memory used for segments across all shards assigned to the selected nodes.final longRequired - The total amount, in bytes, of memory used for segments across all shards assigned to the selected nodes.final StringThe total amount of memory used for normalization factors across all shards assigned to the selected nodes.final longRequired - The total amount, in bytes, of memory used for normalization factors across all shards assigned to the selected nodes.static SegmentsStatsfinal StringThe total amount of memory used for points across all shards assigned to the selected nodes.final longRequired - The total amount, in bytes, of memory used for points across all shards assigned to the selected nodes.final RemoteStoreStatsAPI name:remote_storefinal SegmentReplicationStatsAPI name:segment_replicationvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal StringThe total amount of memory used for stored fields across all shards assigned to the selected nodes.final longRequired - The total amount, in bytes, of memory used for stored fields across all shards assigned to the selected nodes.final StringThe total amount of memory used for terms across all shards assigned to the selected nodes.final longRequired - The total amount, in bytes, of memory used for terms across all shards assigned to the selected nodes.final StringThe total amount of memory used for term vectors across all shards assigned to the selected nodes.final longRequired - The total amount, in bytes, of memory used for term vectors across all shards assigned to the selected nodes.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.final StringThe total amount of memory used by all version maps across all shards assigned to the selected nodes.final longRequired - The total amount, in bytes, of memory used by all version maps across all shards assigned to the selected nodes.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forSegmentsStats
-
-
Method Details
-
of
-
count
public final int count()Required - The total number of segments across all shards assigned to the selected nodes.API name:
count -
docValuesMemory
The human-readable amount of memory used for doc values.API name:
doc_values_memory -
docValuesMemoryInBytes
public final long docValuesMemoryInBytes()Required - The total amount, in bytes, of memory used for document values across all shards assigned to the selected nodes.API name:
doc_values_memory_in_bytes -
fileSizes
Required - This object is not populated by the cluster stats API. To get information on segment files, use the node stats API.API name:
file_sizes -
fixedBitSet
API name:fixed_bit_set -
fixedBitSetMemoryInBytes
public final long fixedBitSetMemoryInBytes()Required - The total amount of memory, in bytes, used by fixed bit sets across all shards assigned to the selected nodes.API name:
fixed_bit_set_memory_in_bytes -
indexWriterMaxMemoryInBytes
The maximum amount of memory, in bytes, used by index writers.API name:
index_writer_max_memory_in_bytes -
indexWriterMemory
The human-readable amount of memory used by index writers.API name:
index_writer_memory -
indexWriterMemoryInBytes
public final long indexWriterMemoryInBytes()Required - The total amount, in bytes, of memory used by all index writers across all shards assigned to the selected nodes.API name:
index_writer_memory_in_bytes -
maxUnsafeAutoIdTimestamp
public final long maxUnsafeAutoIdTimestamp()Required - The Unix timestamp, in milliseconds, of the most recently retried indexing request.API name:
max_unsafe_auto_id_timestamp -
memory
The total amount of memory used for segments across all shards assigned to the selected nodes.API name:
memory -
memoryInBytes
public final long memoryInBytes()Required - The total amount, in bytes, of memory used for segments across all shards assigned to the selected nodes.API name:
memory_in_bytes -
normsMemory
The total amount of memory used for normalization factors across all shards assigned to the selected nodes.API name:
norms_memory -
normsMemoryInBytes
public final long normsMemoryInBytes()Required - The total amount, in bytes, of memory used for normalization factors across all shards assigned to the selected nodes.API name:
norms_memory_in_bytes -
pointsMemory
The total amount of memory used for points across all shards assigned to the selected nodes.API name:
points_memory -
pointsMemoryInBytes
public final long pointsMemoryInBytes()Required - The total amount, in bytes, of memory used for points across all shards assigned to the selected nodes.API name:
points_memory_in_bytes -
remoteStore
API name:remote_store -
segmentReplication
API name:segment_replication -
storedFieldsMemory
The total amount of memory used for stored fields across all shards assigned to the selected nodes.API name:
stored_fields_memory -
storedFieldsMemoryInBytes
public final long storedFieldsMemoryInBytes()Required - The total amount, in bytes, of memory used for stored fields across all shards assigned to the selected nodes.API name:
stored_fields_memory_in_bytes -
termVectorsMemory
The total amount of memory used for term vectors across all shards assigned to the selected nodes.API name:
term_vectors_memory -
termVectorsMemoryInBytes
public final long termVectorsMemoryInBytes()Required - The total amount, in bytes, of memory used for term vectors across all shards assigned to the selected nodes.API name:
term_vectors_memory_in_bytes -
termsMemory
The total amount of memory used for terms across all shards assigned to the selected nodes.API name:
terms_memory -
termsMemoryInBytes
public final long termsMemoryInBytes()Required - The total amount, in bytes, of memory used for terms across all shards assigned to the selected nodes.API name:
terms_memory_in_bytes -
versionMapMemory
The total amount of memory used by all version maps across all shards assigned to the selected nodes.API name:
version_map_memory -
versionMapMemoryInBytes
public final long versionMapMemoryInBytes()Required - The total amount, in bytes, of memory used by all version maps across all shards assigned to the selected nodes.API name:
version_map_memory_in_bytes -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SegmentsStats.Builder,SegmentsStats> - Returns:
- a new builder instance.
-
builder
-
setupSegmentsStatsDeserializer
-
hashCode
public int hashCode() -
equals
-