Class SegmentsStats.Builder
- All Implemented Interfaces:
WithJson<SegmentsStats.Builder>
,ObjectBuilder<SegmentsStats>
- Enclosing class:
- SegmentsStats
SegmentsStats
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aSegmentsStats
.final SegmentsStats.Builder
count
(int value) Required - Total number of segments across all shards assigned to selected nodes.final SegmentsStats.Builder
docValuesMemory
(String value) Total amount of memory used for doc values across all shards assigned to selected nodes.final SegmentsStats.Builder
docValuesMemoryInBytes
(long value) Required - Total amount, in bytes, of memory used for doc values across all shards assigned to selected nodes.final SegmentsStats.Builder
fileSizes
(String key, ShardFileSizeInfo value) Required - This object is not populated by the cluster stats API.final SegmentsStats.Builder
Required - This object is not populated by the cluster stats API.final SegmentsStats.Builder
fileSizes
(Map<String, ShardFileSizeInfo> map) Required - This object is not populated by the cluster stats API.final SegmentsStats.Builder
fixedBitSet
(String value) Total amount of memory used by fixed bit sets across all shards assigned to selected nodes.final SegmentsStats.Builder
fixedBitSetMemoryInBytes
(long value) Required - Total amount of memory, in bytes, used by fixed bit sets across all shards assigned to selected nodes.final SegmentsStats.Builder
indexWriterMaxMemoryInBytes
(Long value) API name:index_writer_max_memory_in_bytes
final SegmentsStats.Builder
indexWriterMemory
(String value) Total amount of memory used by all index writers across all shards assigned to selected nodes.final SegmentsStats.Builder
indexWriterMemoryInBytes
(long value) Required - Total amount, in bytes, of memory used by all index writers across all shards assigned to selected nodes.final SegmentsStats.Builder
maxUnsafeAutoIdTimestamp
(long value) Required - Unix timestamp, in milliseconds, of the most recently retried indexing request.final SegmentsStats.Builder
Total amount of memory used for segments across all shards assigned to selected nodes.final SegmentsStats.Builder
memoryInBytes
(long value) Required - Total amount, in bytes, of memory used for segments across all shards assigned to selected nodes.final SegmentsStats.Builder
normsMemory
(String value) Total amount of memory used for normalization factors across all shards assigned to selected nodes.final SegmentsStats.Builder
normsMemoryInBytes
(long value) Required - Total amount, in bytes, of memory used for normalization factors across all shards assigned to selected nodes.final SegmentsStats.Builder
pointsMemory
(String value) Total amount of memory used for points across all shards assigned to selected nodes.final SegmentsStats.Builder
pointsMemoryInBytes
(long value) Required - Total amount, in bytes, of memory used for points across all shards assigned to selected nodes.protected SegmentsStats.Builder
self()
final SegmentsStats.Builder
storedFieldsMemoryInBytes
(long value) Required - Total amount, in bytes, of memory used for stored fields across all shards assigned to selected nodes.final SegmentsStats.Builder
storedMemory
(String value) API name:stored_memory
final SegmentsStats.Builder
termsMemory
(String value) Total amount of memory used for terms across all shards assigned to selected nodes.final SegmentsStats.Builder
termsMemoryInBytes
(long value) Required - Total amount, in bytes, of memory used for terms across all shards assigned to selected nodes.final SegmentsStats.Builder
termVectorsMemoryInBytes
(long value) Required - Total amount, in bytes, of memory used for term vectors across all shards assigned to selected nodes.final SegmentsStats.Builder
termVectoryMemory
(String value) Total amount of memory used for term vectors across all shards assigned to selected nodes.final SegmentsStats.Builder
versionMapMemory
(String value) Total amount of memory used by all version maps across all shards assigned to selected nodes.final SegmentsStats.Builder
versionMapMemoryInBytes
(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
withJson
Methods 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_sizes
Adds all entries of
map
tofileSizes
. -
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
Adds 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_sizes
Adds an entry to
fileSizes
using 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
-
indexWriterMaxMemoryInBytes
API name:index_writer_max_memory_in_bytes
-
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
-
storedMemory
API name:stored_memory
-
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
-
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
-
termVectoryMemory
Total amount of memory used for term vectors across all shards assigned to selected nodes.API name:
term_vectory_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:
self
in classWithJsonObjectBuilderBase<SegmentsStats.Builder>
-
build
Builds aSegmentsStats
.- Specified by:
build
in interfaceObjectBuilder<SegmentsStats>
- Throws:
NullPointerException
- if some of the required fields are null.
-