java.lang.Object
org.elasticsearch.xpack.core.ml.stats.CountAccumulator
- All Implemented Interfaces:
Writeable
An accumulator for simple counts where statistical measures
are not of interest.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidasMap()booleanstatic CountAccumulatorfromTermsAggregation(StringTerms termsAggregation) inthashCode()voidmerge(CountAccumulator other) voidwriteTo(StreamOutput out)
-
Constructor Details
-
CountAccumulator
public CountAccumulator() -
CountAccumulator
- Throws:
IOException
-
-
Method Details