This belongs in stats.common Backport of #54492
This commit is contained in:
parent
c38e125425
commit
e4230c533c
|
@ -29,7 +29,7 @@ import org.elasticsearch.xpack.core.action.util.QueryPage;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.DataFrameAnalyticsConfig;
|
import org.elasticsearch.xpack.core.ml.dataframe.DataFrameAnalyticsConfig;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.DataFrameAnalyticsState;
|
import org.elasticsearch.xpack.core.ml.dataframe.DataFrameAnalyticsState;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.AnalysisStats;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.AnalysisStats;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.MemoryUsage;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.common.MemoryUsage;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.common.DataCounts;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.common.DataCounts;
|
||||||
import org.elasticsearch.xpack.core.ml.utils.ExceptionsHelper;
|
import org.elasticsearch.xpack.core.ml.utils.ExceptionsHelper;
|
||||||
import org.elasticsearch.xpack.core.ml.utils.PhaseProgress;
|
import org.elasticsearch.xpack.core.ml.utils.PhaseProgress;
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* or more contributor license agreements. Licensed under the Elastic License;
|
* or more contributor license agreements. Licensed under the Elastic License;
|
||||||
* you may not use this file except in compliance with the Elastic License.
|
* you may not use this file except in compliance with the Elastic License.
|
||||||
*/
|
*/
|
||||||
package org.elasticsearch.xpack.core.ml.dataframe.stats;
|
package org.elasticsearch.xpack.core.ml.dataframe.stats.common;
|
||||||
|
|
||||||
import org.elasticsearch.common.ParseField;
|
import org.elasticsearch.common.ParseField;
|
||||||
import org.elasticsearch.common.Strings;
|
import org.elasticsearch.common.Strings;
|
||||||
|
@ -15,6 +15,7 @@ import org.elasticsearch.common.xcontent.ObjectParser;
|
||||||
import org.elasticsearch.common.xcontent.ToXContentObject;
|
import org.elasticsearch.common.xcontent.ToXContentObject;
|
||||||
import org.elasticsearch.common.xcontent.XContentBuilder;
|
import org.elasticsearch.common.xcontent.XContentBuilder;
|
||||||
import org.elasticsearch.xpack.core.common.time.TimeUtils;
|
import org.elasticsearch.xpack.core.common.time.TimeUtils;
|
||||||
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.Fields;
|
||||||
import org.elasticsearch.xpack.core.ml.utils.ExceptionsHelper;
|
import org.elasticsearch.xpack.core.ml.utils.ExceptionsHelper;
|
||||||
import org.elasticsearch.xpack.core.ml.utils.ToXContentParams;
|
import org.elasticsearch.xpack.core.ml.utils.ToXContentParams;
|
||||||
|
|
|
@ -14,8 +14,8 @@ import org.elasticsearch.xpack.core.ml.dataframe.DataFrameAnalyticsConfigTests;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.DataFrameAnalyticsState;
|
import org.elasticsearch.xpack.core.ml.dataframe.DataFrameAnalyticsState;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.AnalysisStats;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.AnalysisStats;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.AnalysisStatsNamedWriteablesProvider;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.AnalysisStatsNamedWriteablesProvider;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.MemoryUsage;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.common.MemoryUsage;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.MemoryUsageTests;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.common.MemoryUsageTests;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.classification.ClassificationStatsTests;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.classification.ClassificationStatsTests;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.common.DataCounts;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.common.DataCounts;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.common.DataCountsTests;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.common.DataCountsTests;
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* or more contributor license agreements. Licensed under the Elastic License;
|
* or more contributor license agreements. Licensed under the Elastic License;
|
||||||
* you may not use this file except in compliance with the Elastic License.
|
* you may not use this file except in compliance with the Elastic License.
|
||||||
*/
|
*/
|
||||||
package org.elasticsearch.xpack.core.ml.dataframe.stats;
|
package org.elasticsearch.xpack.core.ml.dataframe.stats.common;
|
||||||
|
|
||||||
import org.elasticsearch.common.Strings;
|
import org.elasticsearch.common.Strings;
|
||||||
import org.elasticsearch.common.io.stream.Writeable;
|
import org.elasticsearch.common.io.stream.Writeable;
|
|
@ -43,7 +43,7 @@ import org.elasticsearch.xpack.core.ml.dataframe.DataFrameAnalyticsState;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.DataFrameAnalyticsTaskState;
|
import org.elasticsearch.xpack.core.ml.dataframe.DataFrameAnalyticsTaskState;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.AnalysisStats;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.AnalysisStats;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.Fields;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.Fields;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.MemoryUsage;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.common.MemoryUsage;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.classification.ClassificationStats;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.classification.ClassificationStats;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.common.DataCounts;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.common.DataCounts;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.outlierdetection.OutlierDetectionStats;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.outlierdetection.OutlierDetectionStats;
|
||||||
|
|
|
@ -18,7 +18,7 @@ import org.elasticsearch.license.License;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.DataFrameAnalyticsConfig;
|
import org.elasticsearch.xpack.core.ml.dataframe.DataFrameAnalyticsConfig;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.analyses.Classification;
|
import org.elasticsearch.xpack.core.ml.dataframe.analyses.Classification;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.analyses.Regression;
|
import org.elasticsearch.xpack.core.ml.dataframe.analyses.Regression;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.MemoryUsage;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.common.MemoryUsage;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.classification.ClassificationStats;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.classification.ClassificationStats;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.outlierdetection.OutlierDetectionStats;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.outlierdetection.OutlierDetectionStats;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.regression.RegressionStats;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.regression.RegressionStats;
|
||||||
|
|
|
@ -11,7 +11,7 @@ import org.elasticsearch.common.xcontent.ConstructingObjectParser;
|
||||||
import org.elasticsearch.common.xcontent.ToXContent;
|
import org.elasticsearch.common.xcontent.ToXContent;
|
||||||
import org.elasticsearch.common.xcontent.ToXContentObject;
|
import org.elasticsearch.common.xcontent.ToXContentObject;
|
||||||
import org.elasticsearch.common.xcontent.XContentBuilder;
|
import org.elasticsearch.common.xcontent.XContentBuilder;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.MemoryUsage;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.common.MemoryUsage;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.classification.ClassificationStats;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.classification.ClassificationStats;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.outlierdetection.OutlierDetectionStats;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.outlierdetection.OutlierDetectionStats;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.regression.RegressionStats;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.regression.RegressionStats;
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
package org.elasticsearch.xpack.ml.dataframe.stats;
|
package org.elasticsearch.xpack.ml.dataframe.stats;
|
||||||
|
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.AnalysisStats;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.AnalysisStats;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.MemoryUsage;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.common.MemoryUsage;
|
||||||
|
|
||||||
import java.util.concurrent.atomic.AtomicReference;
|
import java.util.concurrent.atomic.AtomicReference;
|
||||||
|
|
||||||
|
|
|
@ -11,8 +11,8 @@ import org.elasticsearch.common.xcontent.ToXContent;
|
||||||
import org.elasticsearch.common.xcontent.XContentParser;
|
import org.elasticsearch.common.xcontent.XContentParser;
|
||||||
import org.elasticsearch.search.SearchModule;
|
import org.elasticsearch.search.SearchModule;
|
||||||
import org.elasticsearch.test.AbstractXContentTestCase;
|
import org.elasticsearch.test.AbstractXContentTestCase;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.MemoryUsage;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.common.MemoryUsage;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.MemoryUsageTests;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.common.MemoryUsageTests;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.classification.ClassificationStats;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.classification.ClassificationStats;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.classification.ClassificationStatsTests;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.classification.ClassificationStatsTests;
|
||||||
import org.elasticsearch.xpack.core.ml.dataframe.stats.outlierdetection.OutlierDetectionStats;
|
import org.elasticsearch.xpack.core.ml.dataframe.stats.outlierdetection.OutlierDetectionStats;
|
||||||
|
|
Loading…
Reference in New Issue