Class CountMinSketchAggState
java.lang.Object
com.espertech.esper.common.internal.epl.approx.countminsketch.CountMinSketchAggState
- All Implemented Interfaces:
AggregationMultiFunctionState
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCountMinSketchAggState
(CountMinSketchState state, CountMinSketchAgent agent) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
applyEnter
(EventBean[] eventsPerStream, ExprEvaluatorContext exprEvaluatorContext) Enter an event.void
applyLeave
(EventBean[] eventsPerStream, ExprEvaluatorContext exprEvaluatorContext) Remove an event.void
clear()
Clear all events in the group.getState()
-
Field Details
-
EPTYPE
-
state
-
-
Constructor Details
-
CountMinSketchAggState
-
-
Method Details
-
applyEnter
Description copied from interface:AggregationMultiFunctionState
Enter an event.- Specified by:
applyEnter
in interfaceAggregationMultiFunctionState
- Parameters:
eventsPerStream
- all events in all streams, typically implementations pick the relevant stream's events to addexprEvaluatorContext
- expression eval context
-
applyLeave
Description copied from interface:AggregationMultiFunctionState
Remove an event.- Specified by:
applyLeave
in interfaceAggregationMultiFunctionState
- Parameters:
eventsPerStream
- all events in all streams, typically implementations pick the relevant stream's events to removeexprEvaluatorContext
- expression eval context
-
add
-
frequency
-
clear
public void clear()Description copied from interface:AggregationMultiFunctionState
Clear all events in the group.- Specified by:
clear
in interfaceAggregationMultiFunctionState
-
getFromBytes
-
getState
-