Class DataframeAnalyticsStatsDataCounts.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.ml.DataframeAnalyticsStatsDataCounts.Builder
- All Implemented Interfaces:
ObjectBuilder<DataframeAnalyticsStatsDataCounts>
- Enclosing class:
- DataframeAnalyticsStatsDataCounts
public static class DataframeAnalyticsStatsDataCounts.Builder extends ObjectBuilderBase implements ObjectBuilder<DataframeAnalyticsStatsDataCounts>
Builder for
DataframeAnalyticsStatsDataCounts
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description DataframeAnalyticsStatsDataCounts
build()
Builds aDataframeAnalyticsStatsDataCounts
.DataframeAnalyticsStatsDataCounts.Builder
skippedDocsCount(int value)
Required - The number of documents that are skipped during the analysis because they contained values that are not supported by the analysis.DataframeAnalyticsStatsDataCounts.Builder
testDocsCount(int value)
Required - The number of documents that are not used for training the model and can be used for testing.DataframeAnalyticsStatsDataCounts.Builder
trainingDocsCount(int value)
Required - The number of documents that are used for training the model.Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
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
-
skippedDocsCount
Required - The number of documents that are skipped during the analysis because they contained values that are not supported by the analysis. For example, outlier detection does not support missing fields so it skips documents with missing fields. Likewise, all types of analysis skip documents that contain arrays with more than one element.API name:
skipped_docs_count
-
testDocsCount
Required - The number of documents that are not used for training the model and can be used for testing.API name:
test_docs_count
-
trainingDocsCount
Required - The number of documents that are used for training the model.API name:
training_docs_count
-
build
Builds aDataframeAnalyticsStatsDataCounts
.- Specified by:
build
in interfaceObjectBuilder<DataframeAnalyticsStatsDataCounts>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-