Class MergesStats.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.MergesStats.Builder
- All Implemented Interfaces:
CopyableBuilder<MergesStats.Builder,,MergesStats> MutableBuilder<MergesStats.Builder,,MergesStats> ObjectBuilder<MergesStats>
- Enclosing class:
MergesStats
public static class MergesStats.Builder
extends ObjectBuilderBase
implements CopyableBuilder<MergesStats.Builder,MergesStats>
Builder for
MergesStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aMergesStats.copy()Create a new builderCopyableBuilderthat is a copy of this one.final MergesStats.Buildercurrent(long value) Required - The number of current merge operations.final MergesStats.BuildercurrentDocs(long value) Required - The number of documents in current merge operations.final MergesStats.BuildercurrentSize(String value) The size of current merge operations in a human-readable format.final MergesStats.BuildercurrentSizeInBytes(long value) Required - The size of current merge operations in bytes.final MergesStats.Buildertotal(long value) Required - The total number of merge operations.final MergesStats.BuildertotalAutoThrottle(String value) The total auto-throttle size in a human-readable format.final MergesStats.BuildertotalAutoThrottleInBytes(long value) Required - The total auto-throttle size in bytes.final MergesStats.BuildertotalDocs(long value) Required - The total number of documents that have been merged.final MergesStats.BuilderThe total size of merge operations in a human-readable format.final MergesStats.BuildertotalSizeInBytes(long value) Required - The total size of merge operations in bytes.final MergesStats.BuilderThe total amount of time merge operations have been stopped.final MergesStats.BuildertotalStoppedTime(Time value) The total amount of time merge operations have been stopped.final MergesStats.BuildertotalStoppedTimeInMillis(long value) Required - The total amount of time merge operations have been stopped in milliseconds.final MergesStats.BuilderThe total amount of time merge operations have been throttled.final MergesStats.BuildertotalThrottledTime(Time value) The total amount of time merge operations have been throttled.final MergesStats.BuildertotalThrottledTimeInMillis(long value) Required - The total amount of time merge operations have been throttled in milliseconds.final MergesStats.BuilderThe total amount of time spent on merge operations.final MergesStats.BuilderThe total amount of time spent on merge operations.final MergesStats.BuildertotalTimeInMillis(long value) Required - The total amount of time spent on merge operations in milliseconds.final MergesStats.BuilderThe number of unreferenced file cleanups performed.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<MergesStats.Builder,MergesStats> - Returns:
- a new builder instance.
-
current
Required - The number of current merge operations.API name:
current -
currentDocs
Required - The number of documents in current merge operations.API name:
current_docs -
currentSize
The size of current merge operations in a human-readable format.API name:
current_size -
currentSizeInBytes
Required - The size of current merge operations in bytes.API name:
current_size_in_bytes -
total
Required - The total number of merge operations.API name:
total -
totalAutoThrottle
The total auto-throttle size in a human-readable format.API name:
total_auto_throttle -
totalAutoThrottleInBytes
Required - The total auto-throttle size in bytes.API name:
total_auto_throttle_in_bytes -
totalDocs
Required - The total number of documents that have been merged.API name:
total_docs -
totalSize
The total size of merge operations in a human-readable format.API name:
total_size -
totalSizeInBytes
Required - The total size of merge operations in bytes.API name:
total_size_in_bytes -
totalStoppedTime
The total amount of time merge operations have been stopped.API name:
total_stopped_time -
totalStoppedTime
@Nonnull public final MergesStats.Builder totalStoppedTime(Function<Time.Builder, ObjectBuilder<Time>> fn) The total amount of time merge operations have been stopped.API name:
total_stopped_time -
totalStoppedTimeInMillis
Required - The total amount of time merge operations have been stopped in milliseconds.API name:
total_stopped_time_in_millis -
totalThrottledTime
The total amount of time merge operations have been throttled.API name:
total_throttled_time -
totalThrottledTime
@Nonnull public final MergesStats.Builder totalThrottledTime(Function<Time.Builder, ObjectBuilder<Time>> fn) The total amount of time merge operations have been throttled.API name:
total_throttled_time -
totalThrottledTimeInMillis
Required - The total amount of time merge operations have been throttled in milliseconds.API name:
total_throttled_time_in_millis -
totalTime
The total amount of time spent on merge operations.API name:
total_time -
totalTime
The total amount of time spent on merge operations.API name:
total_time -
totalTimeInMillis
Required - The total amount of time spent on merge operations in milliseconds.API name:
total_time_in_millis -
unreferencedFileCleanupsPerformed
The number of unreferenced file cleanups performed.API name:
unreferenced_file_cleanups_performed -
build
Builds aMergesStats.- Specified by:
buildin interfaceObjectBuilder<MergesStats>- Throws:
NullPointerException- if some of the required fields are null.
-