Class SegmentsStats.Builder
- All Implemented Interfaces:
CopyableBuilder<SegmentsStats.Builder,,SegmentsStats> MutableBuilder<SegmentsStats.Builder,,SegmentsStats> ObjectBuilder<SegmentsStats>
- Enclosing class:
SegmentsStats
SegmentsStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSegmentsStats.copy()Create a new builderCopyableBuilderthat is a copy of this one.final SegmentsStats.Buildercount(int value) Required - The total number of segments across all shards assigned to the selected nodes.final SegmentsStats.BuilderdocValuesMemory(String value) The human-readable amount of memory used for doc values.final SegmentsStats.BuilderdocValuesMemoryInBytes(long value) Required - The total amount, in bytes, of memory used for document values across all shards assigned to the selected nodes.final SegmentsStats.BuilderRequired - This object is not populated by the cluster stats API.final SegmentsStats.BuilderfileSizes(String key, ShardFileSizeInfo value) Required - 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) API name:fixed_bit_setfinal SegmentsStats.BuilderfixedBitSetMemoryInBytes(long value) Required - The total amount of memory, in bytes, used by fixed bit sets across all shards assigned to the selected nodes.final SegmentsStats.BuilderindexWriterMaxMemoryInBytes(Long value) The maximum amount of memory, in bytes, used by index writers.final SegmentsStats.BuilderindexWriterMemory(String value) The human-readable amount of memory used by index writers.final SegmentsStats.BuilderindexWriterMemoryInBytes(long value) Required - The total amount, in bytes, of memory used by all index writers across all shards assigned to the selected nodes.final SegmentsStats.BuildermaxUnsafeAutoIdTimestamp(long value) Required - The Unix timestamp, in milliseconds, of the most recently retried indexing request.final SegmentsStats.BuilderThe total amount of memory used for segments across all shards assigned to the selected nodes.final SegmentsStats.BuildermemoryInBytes(long value) Required - The total amount, in bytes, of memory used for segments across all shards assigned to the selected nodes.final SegmentsStats.BuildernormsMemory(String value) The total amount of memory used for normalization factors across all shards assigned to the selected nodes.final SegmentsStats.BuildernormsMemoryInBytes(long value) Required - The total amount, in bytes, of memory used for normalization factors across all shards assigned to the selected nodes.final SegmentsStats.BuilderpointsMemory(String value) The total amount of memory used for points across all shards assigned to the selected nodes.final SegmentsStats.BuilderpointsMemoryInBytes(long value) Required - The total amount, in bytes, of memory used for points across all shards assigned to the selected nodes.final SegmentsStats.BuilderAPI name:remote_storefinal SegmentsStats.BuilderremoteStore(RemoteStoreStats value) API name:remote_storefinal SegmentsStats.BuildersegmentReplication(Function<SegmentReplicationStats.Builder, ObjectBuilder<SegmentReplicationStats>> fn) API name:segment_replicationfinal SegmentsStats.BuilderAPI name:segment_replicationfinal SegmentsStats.BuilderstoredFieldsMemory(String value) The total amount of memory used for stored fields across all shards assigned to the selected nodes.final SegmentsStats.BuilderstoredFieldsMemoryInBytes(long value) Required - The total amount, in bytes, of memory used for stored fields across all shards assigned to the selected nodes.final SegmentsStats.BuildertermsMemory(String value) The total amount of memory used for terms across all shards assigned to the selected nodes.final SegmentsStats.BuildertermsMemoryInBytes(long value) Required - The total amount, in bytes, of memory used for terms across all shards assigned to the selected nodes.final SegmentsStats.BuildertermVectorsMemory(String value) The total amount of memory used for term vectors across all shards assigned to the selected nodes.final SegmentsStats.BuildertermVectorsMemoryInBytes(long value) Required - The total amount, in bytes, of memory used for term vectors across all shards assigned to the selected nodes.final SegmentsStats.BuilderversionMapMemory(String value) The total amount of memory used by all version maps across all shards assigned to the selected nodes.final SegmentsStats.BuilderversionMapMemoryInBytes(long value) Required - The total amount, in bytes, of memory used by all version maps across all shards assigned to the selected nodes.Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<SegmentsStats.Builder,SegmentsStats> - Returns:
- a new builder instance.
-
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
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_sizesAdds all elements 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
@Nonnull 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 a value to
fileSizesusing a builder lambda. -
fixedBitSet
API name:fixed_bit_set -
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
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
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
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
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
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 -
remoteStore
@Nonnull public final SegmentsStats.Builder remoteStore(Function<RemoteStoreStats.Builder, ObjectBuilder<RemoteStoreStats>> fn) API name:remote_store -
segmentReplication
@Nonnull public final SegmentsStats.Builder segmentReplication(@Nullable SegmentReplicationStats value) API name:segment_replication -
segmentReplication
@Nonnull public final SegmentsStats.Builder segmentReplication(Function<SegmentReplicationStats.Builder, ObjectBuilder<SegmentReplicationStats>> fn) 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
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
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
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
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 -
build
Builds aSegmentsStats.- Specified by:
buildin interfaceObjectBuilder<SegmentsStats>- Throws:
NullPointerException- if some of the required fields are null.
-