Make DateTime available without package prefix in epl

This commit is contained in:
2018-11-14 18:31:53 -08:00
parent 36cefa32e6
commit 104eb216b5
2 changed files with 12 additions and 10 deletions

View File

@ -9,6 +9,7 @@ import com.espertech.esper.client.StatementAwareUpdateListener;
import com.espertech.esper.client.UpdateListener;
import com.espertech.esper.client.time.CurrentTimeEvent;
import org.joda.time.DateTime;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@ -36,6 +37,7 @@ public class EsperProcessor implements TickProcessor {
config.addEventType(TickEvent.class);
config.addEventType(OHLCEvent.class);
config.addEventType(OHLCValueEvent.class);
config.addEventType(DateTime.class);
// add OHLC plugin
config.addPlugInView("ATS", "OHLC", OHLCPlugInViewFactory.class.getName());