Class NodesStatsRequest.Builder
- All Implemented Interfaces:
- WithJson<NodesStatsRequest.Builder>,- ObjectBuilder<NodesStatsRequest>
- Enclosing class:
- NodesStatsRequest
NodesStatsRequest.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aNodesStatsRequest.completionFields(String value, String... values) Comma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics.completionFields(List<String> list) Comma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics.fielddataFields(String value, String... values) Comma-separated list or wildcard expressions of fields to include in fielddata statistics.fielddataFields(List<String> list) Comma-separated list or wildcard expressions of fields to include in fielddata statistics.Comma-separated list or wildcard expressions of fields to include in the statistics.Comma-separated list or wildcard expressions of fields to include in the statistics.Comma-separated list of search groups to include in the search statistics.includeSegmentFileSizes(Boolean value) If true, the call reports the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested).includeUnloadedSegments(Boolean value) Iftrue, the response includes information from segments that are not loaded into memory.indexMetric(String value, String... values) Limit the information returned for indices metric to the specific index metrics.indexMetric(List<String> list) Limit the information returned for indices metric to the specific index metrics.level(NodeStatsLevel value) Indicates whether statistics are aggregated at the node, indices, or shards level.Limit the information returned to the specified metricsLimit the information returned to the specified metricsComma-separated list of node IDs or names used to limit returned information.Comma-separated list of node IDs or names used to limit returned information.protected NodesStatsRequest.Builderself()Period to wait for a response.Period to wait for a response.A comma-separated list of document types for the indexing index metric.A comma-separated list of document types for the indexing index metric.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
completionFieldsComma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics.API name: completion_fieldsAdds all elements of listtocompletionFields.
- 
completionFieldsComma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics.API name: completion_fieldsAdds one or more values to completionFields.
- 
fielddataFieldsComma-separated list or wildcard expressions of fields to include in fielddata statistics.API name: fielddata_fieldsAdds all elements of listtofielddataFields.
- 
fielddataFieldsComma-separated list or wildcard expressions of fields to include in fielddata statistics.API name: fielddata_fieldsAdds one or more values to fielddataFields.
- 
fieldsComma-separated list or wildcard expressions of fields to include in the statistics.API name: fieldsAdds all elements of listtofields.
- 
fieldsComma-separated list or wildcard expressions of fields to include in the statistics.API name: fieldsAdds one or more values to fields.
- 
groupsComma-separated list of search groups to include in the search statistics.API name: groups
- 
includeSegmentFileSizesIf true, the call 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
- 
includeUnloadedSegmentsIftrue, the response includes information from segments that are not loaded into memory.API name: include_unloaded_segments
- 
indexMetricLimit the information returned for indices metric to the specific index metrics. It can be used only if indices (or all) metric is specified.API name: index_metricAdds all elements of listtoindexMetric.
- 
indexMetricLimit the information returned for indices metric to the specific index metrics. It can be used only if indices (or all) metric is specified.API name: index_metricAdds one or more values to indexMetric.
- 
levelIndicates whether statistics are aggregated at the node, indices, or shards level.API name: level
- 
metricLimit the information returned to the specified metricsAPI name: metricAdds all elements of listtometric.
- 
metricLimit the information returned to the specified metricsAPI name: metricAdds one or more values to metric.
- 
nodeIdComma-separated list of node IDs or names used to limit returned information.API name: node_idAdds all elements of listtonodeId.
- 
nodeIdComma-separated list of node IDs or names used to limit returned information.API name: node_idAdds one or more values to nodeId.
- 
timeoutPeriod to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name: timeout
- 
timeoutPeriod to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name: timeout
- 
typesA comma-separated list of document types for the indexing index metric.API name: typesAdds all elements of listtotypes.
- 
typesA comma-separated list of document types for the indexing index metric.API name: typesAdds one or more values to types.
- 
self- Specified by:
- selfin class- RequestBase.AbstractBuilder<NodesStatsRequest.Builder>
 
- 
buildBuilds aNodesStatsRequest.- Specified by:
- buildin interface- ObjectBuilder<NodesStatsRequest>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-