0

I already have the createstatement function and have successfully detected a simple event. My problem now is to process a complex event using EPL.

I need to process both simple and complex events in the same process. I thought I could use namedwindow to process it, but I don't know how and where to place the namedwindow command inside my program since I have not yet mastered the EPL language and NEsper.

Where should I be calling namedwindow?

Toby Speight
  • 27,591
  • 48
  • 66
  • 103
Ruby
  • 1
  • 3
  • I've improved the English grammar a bit, and broken it down into simple paragraphs. What this question really needs is a minimal code sample that demonstrates the problem; if you can add that, you're much more likely to attract high-quality answers. – Toby Speight Dec 01 '15 at 11:30

1 Answers1

0

I would recommend looking at the NEsper test classes that test named windows and looking at the examples. Among the test classes you could look for eamples for join at TestNamedWindowJoin or subquery for instance in TestInfraSubquery.

Test classes:

Examples: https://github.com/espertechinc/nesper/tree/master/NEsper/NEsper.Examples/example

user650839
  • 2,594
  • 1
  • 13
  • 9
  • Thank you for sharing all those link.. I really need it, but before this I don't know where to find.. I need to explore this example first. If anything, I hope u don't mind if I ask for help. ^_^... @user650839 – Ruby Nov 29 '15 at 13:52