Class EvaluateDataFrameRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<EvaluateDataFrameRequest.Builder>
co.elastic.clients.elasticsearch.ml.EvaluateDataFrameRequest.Builder
- All Implemented Interfaces:
WithJson<EvaluateDataFrameRequest.Builder>
,ObjectBuilder<EvaluateDataFrameRequest>
- Enclosing class:
- EvaluateDataFrameRequest
public static class EvaluateDataFrameRequest.Builder
extends RequestBase.AbstractBuilder<EvaluateDataFrameRequest.Builder>
implements ObjectBuilder<EvaluateDataFrameRequest>
Builder for
EvaluateDataFrameRequest
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aEvaluateDataFrameRequest
.evaluation
(DataframeEvaluation value) Required - Defines the type of evaluation you want to perform.Required - Defines the type of evaluation you want to perform.Required - Defines theindex
in which the evaluation will be performed.A query clause that retrieves a subset of data from the source index.A query clause that retrieves a subset of data from the source index.protected EvaluateDataFrameRequest.Builder
self()
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
-
evaluation
Required - Defines the type of evaluation you want to perform.API name:
evaluation
-
evaluation
public final EvaluateDataFrameRequest.Builder evaluation(Function<DataframeEvaluation.Builder, ObjectBuilder<DataframeEvaluation>> fn) Required - Defines the type of evaluation you want to perform.API name:
evaluation
-
index
Required - Defines theindex
in which the evaluation will be performed.API name:
index
-
query
A query clause that retrieves a subset of data from the source index.API name:
query
-
query
public final EvaluateDataFrameRequest.Builder query(Function<Query.Builder, ObjectBuilder<Query>> fn) A query clause that retrieves a subset of data from the source index.API name:
query
-
self
- Specified by:
self
in classRequestBase.AbstractBuilder<EvaluateDataFrameRequest.Builder>
-
build
Builds aEvaluateDataFrameRequest
.- Specified by:
build
in interfaceObjectBuilder<EvaluateDataFrameRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-