return new EventType[]{firstParamType, indexEventType};
}
public EnumEval getEnumEval(EventAdapterService eventAdapterService, StreamTypeService streamTypeService, String statementId, String enumMethodUsedName, List<ExprDotEvalParam> bodiesAndParameters, EventType inputEventType, Class collectionComponentType, int numStreamsIncoming) {
ExprDotEvalParamLambda first = (ExprDotEvalParamLambda) bodiesAndParameters.get(0);
if (inputEventType != null) {
super.setTypeInfo(ExprDotEvalTypeInfo.eventColl(inputEventType));
if (first.getGoesToNames().size() == 1) {
return new EnumEvalWhereEvents(first.getBodyEvaluator(), first.getStreamCountIncoming());
}
return new EnumEvalWhereIndexEvents(first.getBodyEvaluator(), first.getStreamCountIncoming(), (MapEventType) first.getGoesToTypes()[1], first.getGoesToNames().get(1));
}
super.setTypeInfo(ExprDotEvalTypeInfo.componentColl(collectionComponentType));
if (first.getGoesToNames().size() == 1) {
return new EnumEvalWhereScalar(first.getBodyEvaluator(), first.getStreamCountIncoming(), (MapEventType) first.getGoesToTypes()[0], first.getGoesToNames().get(0));
}
return new EnumEvalWhereScalarIndex(first.getBodyEvaluator(), first.getStreamCountIncoming(), (MapEventType) first.getGoesToTypes()[0], first.getGoesToNames().get(0), (MapEventType) first.getGoesToTypes()[1], first.getGoesToNames().get(1));
}