Class NodesInfoRequestBuilder
java.lang.Object
org.elasticsearch.action.ActionRequestBuilder<Request,Response>
org.elasticsearch.action.support.nodes.NodesOperationRequestBuilder<NodesInfoRequest,NodesInfoResponse,NodesInfoRequestBuilder>
org.elasticsearch.action.admin.cluster.node.info.NodesInfoRequestBuilder
public class NodesInfoRequestBuilder
extends NodesOperationRequestBuilder<NodesInfoRequest,NodesInfoResponse,NodesInfoRequestBuilder>
-
Field Summary
Fields inherited from class org.elasticsearch.action.ActionRequestBuilder
action, client, request
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdd a single metric to the request.addMetrics(String... metrics)
Add an array of metrics to the request.all()
Sets to return all the data.clear()
Clears all info flags.Methods inherited from class org.elasticsearch.action.support.nodes.NodesOperationRequestBuilder
setNodesIds, setTimeout, setTimeout
-
Constructor Details
-
NodesInfoRequestBuilder
-
-
Method Details
-
clear
Clears all info flags. -
all
Sets to return all the data. -
addMetric
Add a single metric to the request.- Parameters:
metric
- Name of metric as a string.- Returns:
- This, for request chaining.
-
addMetrics
Add an array of metrics to the request.- Parameters:
metrics
- Metric names as strings.- Returns:
- This, for request chaining.
-