com.espertech.esper.epl.enummethod.eval.EnumEvalMostLeastFrequentScalar Maven / Gradle / Ivy
package com.espertech.esper.epl.enummethod.eval;
import com.espertech.esper.client.EventBean;
import com.espertech.esper.epl.expression.ExprEvaluator;
import com.espertech.esper.epl.expression.ExprEvaluatorContext;
import java.util.Collection;
import java.util.LinkedHashMap;
import java.util.Map;
public class EnumEvalMostLeastFrequentScalar extends EnumEvalBase implements EnumEval {
private final boolean isMostFrequent;
public EnumEvalMostLeastFrequentScalar(int streamCountIncoming, boolean isMostFrequent) {
super(streamCountIncoming);
this.isMostFrequent = isMostFrequent;
}
public Object evaluateEnumMethod(Collection target, boolean isNewData, ExprEvaluatorContext context) {
Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy