L
- Type of label.Self
- Type of evaluation context.public interface EvaluationContext<L,Self extends EvaluationContext<L,? super Self>> extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
aggregate(LabeledVector<L> vector)
Aggregates statistic from vector of sample.
|
static <L extends Serializable> |
empty()
Returns default empty context.
|
Self |
mergeWith(Self other)
Merges statistics of this and other context.
|
default boolean |
needToCompute()
Returns true if this contexts should be evaluated through map-reduce.
|
void aggregate(LabeledVector<L> vector)
vector
- Vector.Self mergeWith(Self other)
other
- Other context.default boolean needToCompute()
static <L extends Serializable> EmptyContext<L> empty()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.12.0 Release Date : January 10 2022