Class NodesStatsRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.nodes.NodesStatsRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<NodesStatsRequest>
- Enclosing class:
- NodesStatsRequest
public static class NodesStatsRequest.Builder extends java.lang.Object implements ObjectBuilder<NodesStatsRequest>
Builder for
NodesStatsRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description NodesStatsRequest.BuilderaddCompletionFields(java.lang.String value)Add a value tocompletionFields(List), creating the list if needed.NodesStatsRequest.BuilderaddFielddataFields(java.lang.String value)Add a value tofielddataFields(List), creating the list if needed.NodesStatsRequest.BuilderaddFields(java.lang.String value)Add a value tofields(List), creating the list if needed.NodesStatsRequest.BuilderaddIndexMetric(java.lang.String value)Add a value toindexMetric(List), creating the list if needed.NodesStatsRequest.BuilderaddMetric(java.lang.String value)Add a value tometric(List), creating the list if needed.NodesStatsRequest.BuilderaddNodeId(java.lang.String value)Add a value tonodeId(List), creating the list if needed.NodesStatsRequest.BuilderaddTypes(java.lang.String value)Add a value totypes(List), creating the list if needed.NodesStatsRequestbuild()Builds aNodesStatsRequest.NodesStatsRequest.BuildercompletionFields(java.lang.String... value)Comma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics.NodesStatsRequest.BuildercompletionFields(java.util.List<java.lang.String> value)Comma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics.NodesStatsRequest.BuilderfielddataFields(java.lang.String... value)Comma-separated list or wildcard expressions of fields to include in fielddata statistics.NodesStatsRequest.BuilderfielddataFields(java.util.List<java.lang.String> value)Comma-separated list or wildcard expressions of fields to include in fielddata statistics.NodesStatsRequest.Builderfields(java.lang.String... value)Comma-separated list or wildcard expressions of fields to include in the statistics.NodesStatsRequest.Builderfields(java.util.List<java.lang.String> value)Comma-separated list or wildcard expressions of fields to include in the statistics.NodesStatsRequest.Buildergroups(java.lang.Boolean value)Comma-separated list of search groups to include in the search statistics.NodesStatsRequest.BuilderincludeSegmentFileSizes(java.lang.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).NodesStatsRequest.BuilderincludeUnloadedSegments(java.lang.Boolean value)If set to true segment stats will include stats for segments that are not currently loaded into memoryNodesStatsRequest.BuilderindexMetric(java.lang.String... value)Limit the information returned for indices metric to the specific index metrics.NodesStatsRequest.BuilderindexMetric(java.util.List<java.lang.String> value)Limit the information returned for indices metric to the specific index metrics.NodesStatsRequest.Builderlevel(Level value)Indicates whether statistics are aggregated at the cluster, index, or shard level.NodesStatsRequest.BuildermasterTimeout(java.lang.String value)Period to wait for a connection to the master node.NodesStatsRequest.Buildermetric(java.lang.String... value)Limit the information returned to the specified metricsNodesStatsRequest.Buildermetric(java.util.List<java.lang.String> value)Limit the information returned to the specified metricsNodesStatsRequest.BuildernodeId(java.lang.String... value)Comma-separated list of node IDs or names used to limit returned information.NodesStatsRequest.BuildernodeId(java.util.List<java.lang.String> value)Comma-separated list of node IDs or names used to limit returned information.NodesStatsRequest.Buildertimeout(java.lang.String value)Period to wait for a response.NodesStatsRequest.Buildertypes(java.lang.String... value)A comma-separated list of document types for the indexing index metric.NodesStatsRequest.Buildertypes(java.util.List<java.lang.String> value)A comma-separated list of document types for the indexing index metric.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
nodeId
Comma-separated list of node IDs or names used to limit returned information.API name:
node_id -
nodeId
Comma-separated list of node IDs or names used to limit returned information.API name:
node_id -
addNodeId
Add a value tonodeId(List), creating the list if needed. -
metric
Limit the information returned to the specified metricsAPI name:
metric -
metric
Limit the information returned to the specified metricsAPI name:
metric -
addMetric
Add a value tometric(List), creating the list if needed. -
indexMetric
Limit 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_metric -
indexMetric
Limit 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_metric -
addIndexMetric
Add a value toindexMetric(List), creating the list if needed. -
completionFields
public NodesStatsRequest.Builder completionFields(@Nullable java.util.List<java.lang.String> value)Comma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics.API name:
completion_fields -
completionFields
Comma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics.API name:
completion_fields -
addCompletionFields
Add a value tocompletionFields(List), creating the list if needed. -
fielddataFields
Comma-separated list or wildcard expressions of fields to include in fielddata statistics.API name:
fielddata_fields -
fielddataFields
Comma-separated list or wildcard expressions of fields to include in fielddata statistics.API name:
fielddata_fields -
addFielddataFields
Add a value tofielddataFields(List), creating the list if needed. -
fields
Comma-separated list or wildcard expressions of fields to include in the statistics.API name:
fields -
fields
Comma-separated list or wildcard expressions of fields to include in the statistics.API name:
fields -
addFields
Add a value tofields(List), creating the list if needed. -
groups
Comma-separated list of search groups to include in the search statistics.API name:
groups -
includeSegmentFileSizes
If 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 -
level
Indicates whether statistics are aggregated at the cluster, index, or shard level.API name:
level -
masterTimeout
Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.API name:
master_timeout -
timeout
Period 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 -
types
A comma-separated list of document types for the indexing index metric.API name:
types -
addTypes
Add a value totypes(List), creating the list if needed. -
includeUnloadedSegments
If set to true segment stats will include stats for segments that are not currently loaded into memoryAPI name:
include_unloaded_segments -
build
Builds aNodesStatsRequest.- Specified by:
buildin interfaceObjectBuilder<NodesStatsRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-