Make DateTime available without package prefix in epl
This commit is contained in:
@ -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());
|
||||
|
||||
Reference in New Issue
Block a user