com.espertech.esper.epl.enummethod.eval.ExprDotEvalReverse Maven / Gradle / Ivy
package com.espertech.esper.epl.enummethod.eval;
import com.espertech.esper.client.EventType;
import com.espertech.esper.epl.core.StreamTypeService;
import com.espertech.esper.epl.enummethod.dot.ExprDotEvalEnumMethodBase;
import com.espertech.esper.epl.enummethod.dot.ExprDotEvalParam;
import com.espertech.esper.epl.enummethod.dot.ExprDotEvalTypeInfo;
import java.util.List;
public class ExprDotEvalReverse extends ExprDotEvalEnumMethodBase {
public EventType[] getAddStreamTypes(String enumMethodUsedName, List goesToNames, EventType inputEventType, Class collectionComponentType, List bodiesAndParameters) {
return new EventType[] {};
}
public EnumEval getEnumEval(StreamTypeService streamTypeService, String enumMethodUsedName, List bodiesAndParameters, EventType inputEventType, Class collectionComponentType, int numStreamsIncoming) {
if (inputEventType != null) {
super.setTypeInfo(ExprDotEvalTypeInfo.eventColl(inputEventType));
}
else {
super.setTypeInfo(ExprDotEvalTypeInfo.componentColl(collectionComponentType));
}
return new EnumEvalReverse(numStreamsIncoming);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy