Class NodesStatsRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.nodes.NodesStatsRequest
- All Implemented Interfaces:
ToCopyableBuilder<NodesStatsRequest.Builder,NodesStatsRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class NodesStatsRequest
extends RequestBase
implements ToCopyableBuilder<NodesStatsRequest.Builder,NodesStatsRequest>
Returns statistical information about nodes in the cluster.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<NodesStatsRequest, NodesStatsResponse, ErrorResponse> Endpoint "nodes.stats". -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyQueryParameters(Map<String, String> params) static NodesStatsRequest.Builderbuilder()A comma-separated list or wildcard expressions of fields to include in field data and suggest statistics.booleanA comma-separated list or wildcard expressions of fields to include in field data statistics.fields()A comma-separated list or wildcard expressions of fields to include in the statistics.groups()A comma-separated list of search groups to include in the search statistics.inthashCode()final BooleanWhentrue, reports the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested).final List<NodesStatsIndexMetric> Limit the information returned for indexes metric to the specified index metrics.final Levellevel()Indicates whether statistics are aggregated at the cluster, index, or shard level.final List<NodesStatsMetric> metric()Limit the information returned to the specified metrics.nodeId()A comma-separated list of node IDs or names used to limit returned information.static NodesStatsRequestfinal Timetimeout()The amount of time to wait for a response.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.types()A comma-separated list of document types for the indexing index metric.Methods inherited from class org.opensearch.client.opensearch._types.RequestBase
errorTrace, humanMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_ENDPOINT
Endpoint "nodes.stats".
-
-
Method Details
-
of
public static NodesStatsRequest of(Function<NodesStatsRequest.Builder, ObjectBuilder<NodesStatsRequest>> fn) -
completionFields
A comma-separated list or wildcard expressions of fields to include in field data and suggest statistics.API name:
completion_fields -
fielddataFields
A comma-separated list or wildcard expressions of fields to include in field data statistics.API name:
fielddata_fields -
fields
A comma-separated list or wildcard expressions of fields to include in the statistics.API name:
fields -
groups
A comma-separated list of search groups to include in the search statistics.API name:
groups -
includeSegmentFileSizes
Whentrue, reports the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested).API name:
include_segment_file_sizes -
indexMetric
Limit the information returned for indexes metric to the specified index metrics. It can be used only if indexes (or all) metric is specified.API name:
index_metric -
level
Indicates whether statistics are aggregated at the cluster, index, or shard level.API name:
level -
metric
Limit the information returned to the specified metrics.API name:
metric -
nodeId
A comma-separated list of node IDs or names used to limit returned information.API name:
node_id -
timeout
The amount of time to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout -
types
A comma-separated list of document types for the indexing index metric.API name:
types -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<NodesStatsRequest.Builder,NodesStatsRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-