Class RuntimeFieldTypes.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<RuntimeFieldTypes.Builder>
co.elastic.clients.elasticsearch.cluster.stats.RuntimeFieldTypes.Builder
- All Implemented Interfaces:
WithJson<RuntimeFieldTypes.Builder>
,ObjectBuilder<RuntimeFieldTypes>
- Enclosing class:
- RuntimeFieldTypes
public static class RuntimeFieldTypes.Builder
extends WithJsonObjectBuilderBase<RuntimeFieldTypes.Builder>
implements ObjectBuilder<RuntimeFieldTypes>
Builder for
RuntimeFieldTypes
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aRuntimeFieldTypes
.charsMax
(int value) Required - Maximum number of characters for a single runtime field script.charsTotal
(int value) Required - Total number of characters for the scripts that define the current runtime field data type.count
(int value) Required - Number of runtime fields mapped to the field data type in selected nodes.docMax
(int value) Required - Maximum number of accesses to doc_values for a single runtime field scriptdocTotal
(int value) Required - Total number of accesses to doc_values for the scripts that define the current runtime field data type.indexCount
(int value) Required - Number of indices containing a mapping of the runtime field data type in selected nodes.Required - Script languages used for the runtime fields scripts.Required - Script languages used for the runtime fields scripts.linesMax
(int value) Required - Maximum number of lines for a single runtime field script.linesTotal
(int value) Required - Total number of lines for the scripts that define the current runtime field data type.Required - Field data type used in selected nodes.scriptlessCount
(int value) Required - Number of runtime fields that don’t declare a script.protected RuntimeFieldTypes.Builder
self()
shadowedCount
(int value) Required - Number of runtime fields that shadow an indexed field.sourceMax
(int value) Required - Maximum number of accesses to _source for a single runtime field script.sourceTotal
(int value) Required - Total number of accesses to _source for the scripts that define the current runtime field data type.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
charsMax
Required - Maximum number of characters for a single runtime field script.API name:
chars_max
-
charsTotal
Required - Total number of characters for the scripts that define the current runtime field data type.API name:
chars_total
-
count
Required - Number of runtime fields mapped to the field data type in selected nodes.API name:
count
-
docMax
Required - Maximum number of accesses to doc_values for a single runtime field scriptAPI name:
doc_max
-
docTotal
Required - Total number of accesses to doc_values for the scripts that define the current runtime field data type.API name:
doc_total
-
indexCount
Required - Number of indices containing a mapping of the runtime field data type in selected nodes.API name:
index_count
-
lang
Required - Script languages used for the runtime fields scripts.API name:
lang
Adds all elements of
list
tolang
. -
lang
Required - Script languages used for the runtime fields scripts.API name:
lang
Adds one or more values to
lang
. -
linesMax
Required - Maximum number of lines for a single runtime field script.API name:
lines_max
-
linesTotal
Required - Total number of lines for the scripts that define the current runtime field data type.API name:
lines_total
-
name
Required - Field data type used in selected nodes.API name:
name
-
scriptlessCount
Required - Number of runtime fields that don’t declare a script.API name:
scriptless_count
-
shadowedCount
Required - Number of runtime fields that shadow an indexed field.API name:
shadowed_count
-
sourceMax
Required - Maximum number of accesses to _source for a single runtime field script.API name:
source_max
-
sourceTotal
Required - Total number of accesses to _source for the scripts that define the current runtime field data type.API name:
source_total
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<RuntimeFieldTypes.Builder>
-
build
Builds aRuntimeFieldTypes
.- Specified by:
build
in interfaceObjectBuilder<RuntimeFieldTypes>
- Throws:
NullPointerException
- if some of the required fields are null.
-