Class SegmentsStats.Builder
- All Implemented Interfaces:
WithJson<SegmentsStats.Builder>,ObjectBuilder<SegmentsStats>
- Enclosing class:
- SegmentsStats
SegmentsStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSegmentsStats.final SegmentsStats.Buildercount(int value) Required - Total number of segments across all shards assigned to selected nodes.final SegmentsStats.BuilderdocValuesMemory(String value) Total amount of memory used for doc values across all shards assigned to selected nodes.final SegmentsStats.BuilderdocValuesMemoryInBytes(long value) Required - Total amount, in bytes, of memory used for doc values across all shards assigned to selected nodes.final SegmentsStats.BuilderfileSizes(String key, ShardFileSizeInfo value) Required - This object is not populated by the cluster stats API.final SegmentsStats.BuilderRequired - This object is not populated by the cluster stats API.final SegmentsStats.BuilderfileSizes(Map<String, ShardFileSizeInfo> map) Required - This object is not populated by the cluster stats API.final SegmentsStats.BuilderfixedBitSet(String value) Total amount of memory used by fixed bit sets across all shards assigned to selected nodes.final SegmentsStats.BuilderfixedBitSetMemoryInBytes(long value) Required - Total amount of memory, in bytes, used by fixed bit sets across all shards assigned to selected nodes.final SegmentsStats.BuilderindexWriterMemory(String value) Total amount of memory used by all index writers across all shards assigned to selected nodes.final SegmentsStats.BuilderindexWriterMemoryInBytes(long value) Required - Total amount, in bytes, of memory used by all index writers across all shards assigned to selected nodes.final SegmentsStats.BuildermaxUnsafeAutoIdTimestamp(long value) Required - Unix timestamp, in milliseconds, of the most recently retried indexing request.final SegmentsStats.BuilderTotal amount of memory used for segments across all shards assigned to selected nodes.final SegmentsStats.BuildermemoryInBytes(long value) Required - Total amount, in bytes, of memory used for segments across all shards assigned to selected nodes.final SegmentsStats.BuildernormsMemory(String value) Total amount of memory used for normalization factors across all shards assigned to selected nodes.final SegmentsStats.BuildernormsMemoryInBytes(long value) Required - Total amount, in bytes, of memory used for normalization factors across all shards assigned to selected nodes.final SegmentsStats.BuilderpointsMemory(String value) Total amount of memory used for points across all shards assigned to selected nodes.final SegmentsStats.BuilderpointsMemoryInBytes(long value) Required - Total amount, in bytes, of memory used for points across all shards assigned to selected nodes.protected SegmentsStats.Builderself()final SegmentsStats.BuilderstoredFieldsMemory(String value) Total amount of memory used for stored fields across all shards assigned to selected nodes.final SegmentsStats.BuilderstoredFieldsMemoryInBytes(long value) Required - Total amount, in bytes, of memory used for stored fields across all shards assigned to selected nodes.final SegmentsStats.BuildertermsMemory(String value) Total amount of memory used for terms across all shards assigned to selected nodes.final SegmentsStats.BuildertermsMemoryInBytes(long value) Required - Total amount, in bytes, of memory used for terms across all shards assigned to selected nodes.final SegmentsStats.BuildertermVectorsMemory(String value) Total amount of memory used for term vectors across all shards assigned to selected nodes.final SegmentsStats.BuildertermVectorsMemoryInBytes(long value) Required - Total amount, in bytes, of memory used for term vectors across all shards assigned to selected nodes.final SegmentsStats.BuilderversionMapMemory(String value) Total amount of memory used by all version maps across all shards assigned to selected nodes.final SegmentsStats.BuilderversionMapMemoryInBytes(long value) Required - Total amount, in bytes, of memory used by all version maps across all shards assigned to selected nodes.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
count
Required - Total number of segments across all shards assigned to selected nodes.API name:
count -
docValuesMemory
Total amount of memory used for doc values across all shards assigned to selected nodes.API name:
doc_values_memory -
docValuesMemoryInBytes
Required - Total amount, in bytes, of memory used for doc values across all shards assigned to 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_sizesAdds all entries of
maptofileSizes. -
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_sizesAdds an entry to
fileSizes. -
fileSizes
public final SegmentsStats.Builder fileSizes(String key, Function<ShardFileSizeInfo.Builder, ObjectBuilder<ShardFileSizeInfo>> fn) 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_sizesAdds an entry to
fileSizesusing a builder lambda. -
fixedBitSet
Total amount of memory used by fixed bit sets across all shards assigned to selected nodes. Fixed bit sets are used for nested object field types and type filters for join fields.API name:
fixed_bit_set -
fixedBitSetMemoryInBytes
Required - Total amount of memory, in bytes, used by fixed bit sets across all shards assigned to selected nodes.API name:
fixed_bit_set_memory_in_bytes -
indexWriterMemory
Total amount of memory used by all index writers across all shards assigned to selected nodes.API name:
index_writer_memory -
indexWriterMemoryInBytes
Required - Total amount, in bytes, of memory used by all index writers across all shards assigned to selected nodes.API name:
index_writer_memory_in_bytes -
maxUnsafeAutoIdTimestamp
Required - Unix timestamp, in milliseconds, of the most recently retried indexing request.API name:
max_unsafe_auto_id_timestamp -
memory
Total amount of memory used for segments across all shards assigned to selected nodes.API name:
memory -
memoryInBytes
Required - Total amount, in bytes, of memory used for segments across all shards assigned to selected nodes.API name:
memory_in_bytes -
normsMemory
Total amount of memory used for normalization factors across all shards assigned to selected nodes.API name:
norms_memory -
normsMemoryInBytes
Required - Total amount, in bytes, of memory used for normalization factors across all shards assigned to selected nodes.API name:
norms_memory_in_bytes -
pointsMemory
Total amount of memory used for points across all shards assigned to selected nodes.API name:
points_memory -
pointsMemoryInBytes
Required - Total amount, in bytes, of memory used for points across all shards assigned to selected nodes.API name:
points_memory_in_bytes -
storedFieldsMemoryInBytes
Required - Total amount, in bytes, of memory used for stored fields across all shards assigned to selected nodes.API name:
stored_fields_memory_in_bytes -
storedFieldsMemory
Total amount of memory used for stored fields across all shards assigned to selected nodes.API name:
stored_fields_memory -
termsMemoryInBytes
Required - Total amount, in bytes, of memory used for terms across all shards assigned to selected nodes.API name:
terms_memory_in_bytes -
termsMemory
Total amount of memory used for terms across all shards assigned to selected nodes.API name:
terms_memory -
termVectorsMemory
Total amount of memory used for term vectors across all shards assigned to selected nodes.API name:
term_vectors_memory -
termVectorsMemoryInBytes
Required - Total amount, in bytes, of memory used for term vectors across all shards assigned to selected nodes.API name:
term_vectors_memory_in_bytes -
versionMapMemory
Total amount of memory used by all version maps across all shards assigned to selected nodes.API name:
version_map_memory -
versionMapMemoryInBytes
Required - Total amount, in bytes, of memory used by all version maps across all shards assigned to selected nodes.API name:
version_map_memory_in_bytes -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<SegmentsStats.Builder>
-
build
Builds aSegmentsStats.- Specified by:
buildin interfaceObjectBuilder<SegmentsStats>- Throws:
NullPointerException- if some of the required fields are null.
-