Class NodesStatsRequestBuilder
org.elasticsearch.action.ActionRequestBuilder<Request,Response>
org.elasticsearch.action.support.nodes.NodesOperationRequestBuilder<NodesStatsRequest,NodesStatsResponse,NodesStatsRequestBuilder>
org.elasticsearch.action.admin.cluster.node.stats.NodesStatsRequestBuilder
public class NodesStatsRequestBuilder
extends NodesOperationRequestBuilder<NodesStatsRequest,NodesStatsResponse,NodesStatsRequestBuilder>
-
Field Summary
Fields inherited from class org.elasticsearch.action.ActionRequestBuilder
action, client, request
-
Constructor Summary
ConstructorDescriptionNodesStatsRequestBuilder(ElasticsearchClient client, NodesStatsAction action)
-
Method Summary
Modifier and TypeMethodDescriptionmetric)
Add a single metric to the request.... metrics)
Add an array of metrics to the request.all()
Sets all the request flags.clear()
Clears all stats flags.setIndices(boolean indices)
Should the node indices stats be returned.setIndices(CommonStatsFlags indices)
Should the node indices stats be returned.Methods inherited from class org.elasticsearch.action.support.nodes.NodesOperationRequestBuilder
setNodesIds, setTimeout, setTimeout
Methods inherited from class org.elasticsearch.action.ActionRequestBuilder
execute, execute, get, get, get, request
Methods inherited from class java.lang.
, , , , , , , , , ,
-
Constructor Details
-
NodesStatsRequestBuilder
-
-
Method Details
-
all
Sets all the request flags. -
clear
Clears all stats flags. -
addMetric
public metric)Add a single metric to the request.- Parameters:
metric
- Name of metric as a string.- Returns:
- This, for request chaining.
-
addMetrics
public ... metrics)Add an array of metrics to the request.- Parameters:
metrics
- Metric names as strings.- Returns:
- This, for request chaining.
-
setIndices
Should the node indices stats be returned. -
setIndices
Should the node indices stats be returned.
-