}
public Collection<EventBean> evaluateMatching(EventBean[] eventsPerStream, ExprEvaluatorContext exprEvaluatorContext) {
int agentInstanceId = exprEvaluatorContext.getAgentInstanceId();
ExprSubselectStrategy strategy = strategies.get(agentInstanceId);
return strategy.evaluateMatching(eventsPerStream, exprEvaluatorContext);
}
public int getAgentInstanceCount() {
return strategies.size();
}