public class EmptyContext<L extends Serializable> extends Object implements EvaluationContext<L,EmptyContext<L>>
Constructor and Description |
---|
EmptyContext() |
Modifier and Type | Method and Description |
---|---|
void |
aggregate(LabeledVector<L> vector)
Aggregates statistic from vector of sample.
|
EmptyContext<L> |
mergeWith(EmptyContext<L> other)
Merges statistics of this and other context.
|
boolean |
needToCompute()
Returns true if this contexts should be evaluated through map-reduce.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
empty
public void aggregate(LabeledVector<L> vector)
aggregate
in interface EvaluationContext<L extends Serializable,EmptyContext<L extends Serializable>>
vector
- Vector.public EmptyContext<L> mergeWith(EmptyContext<L> other)
mergeWith
in interface EvaluationContext<L extends Serializable,EmptyContext<L extends Serializable>>
other
- Other context.public boolean needToCompute()
needToCompute
in interface EvaluationContext<L extends Serializable,EmptyContext<L extends Serializable>>
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020