Class AggregationMethodCountMinSketchFreq
java.lang.Object
com.espertech.esper.common.internal.epl.agg.access.countminsketch.AggregationMethodCountMinSketchFreq
- All Implemented Interfaces:
AggregationMultiFunctionAggregationMethod
public class AggregationMethodCountMinSketchFreq
extends Object
implements AggregationMultiFunctionAggregationMethod
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetValue
(int aggColNum, AggregationRow row, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext exprEvaluatorContext) Returns the plain valuegetValueCollectionEvents
(int aggColNum, AggregationRow row, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext exprEvaluatorContext) Return a collection of events or null when not available.getValueCollectionScalar
(int aggColNum, AggregationRow row, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext exprEvaluatorContext) Return a collection of values or null when not available.getValueEventBean
(int aggColNum, AggregationRow row, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext exprEvaluatorContext) Returns a single event or null when not available.void
setFrequencyEval
(ExprEvaluator frequencyEval)
-
Field Details
-
EPTYPE
-
-
Constructor Details
-
AggregationMethodCountMinSketchFreq
public AggregationMethodCountMinSketchFreq()
-
-
Method Details
-
setFrequencyEval
-
getValue
public Object getValue(int aggColNum, AggregationRow row, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext exprEvaluatorContext) Description copied from interface:AggregationMultiFunctionAggregationMethod
Returns the plain value- Specified by:
getValue
in interfaceAggregationMultiFunctionAggregationMethod
- Parameters:
aggColNum
- column numberrow
- aggregation roweventsPerStream
- eventsisNewData
- new-data flagexprEvaluatorContext
- evaluation context- Returns:
- value
-
getValueCollectionEvents
public Collection getValueCollectionEvents(int aggColNum, AggregationRow row, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext exprEvaluatorContext) Description copied from interface:AggregationMultiFunctionAggregationMethod
Return a collection of events or null when not available. TheEPChainableType
returned by the handler indicates whether the compiler allows operations on events.- Specified by:
getValueCollectionEvents
in interfaceAggregationMultiFunctionAggregationMethod
- Parameters:
aggColNum
- column numberrow
- aggregation roweventsPerStream
- eventsisNewData
- new-data flagexprEvaluatorContext
- evaluation context- Returns:
- collection of
EventBean
-
getValueCollectionScalar
public Collection getValueCollectionScalar(int aggColNum, AggregationRow row, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext exprEvaluatorContext) Description copied from interface:AggregationMultiFunctionAggregationMethod
Return a collection of values or null when not available. TheEPChainableType
returned by the handler indicates whether the compiler allows operations on events.- Specified by:
getValueCollectionScalar
in interfaceAggregationMultiFunctionAggregationMethod
- Parameters:
aggColNum
- column numberrow
- aggregation roweventsPerStream
- eventsisNewData
- new-data flagexprEvaluatorContext
- evaluation context- Returns:
- collection of values
-
getValueEventBean
public EventBean getValueEventBean(int aggColNum, AggregationRow row, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext exprEvaluatorContext) Description copied from interface:AggregationMultiFunctionAggregationMethod
Returns a single event or null when not available. TheEPChainableType
returned by the handler indicates whether the compiler allows operations on events.- Specified by:
getValueEventBean
in interfaceAggregationMultiFunctionAggregationMethod
- Parameters:
aggColNum
- column numberrow
- aggregation roweventsPerStream
- eventsisNewData
- new-data flagexprEvaluatorContext
- evaluation context- Returns:
- event
-