Questions tagged [nesper]

NEsper is a CLR-based component for building CEP and ESP engines.

NEsper is a CLR-based component for building CEP and ESP engines. NEsper is based upon the Esper baseline, but includes customizations that are specific to the .NET CLR.

See http://esper.codehaus.org/about/nesper/nesper.html

63 questions
0
votes
1 answer

dissect a string (removing portions) with Esper syntax

I'm using an esper statement to compare to variables and trigger when variable1 != variable2. My issue is that variable1 contains additional information I don't care about. I just want to match the first portion Example Data: Variable1 =…
0
votes
1 answer

How and where to add Named Window using EPL in NEsper?

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…
Ruby
  • 1
  • 3
0
votes
1 answer

NEsper memory usage of "output" keyword

I have many EPL statements that output a period of time (1~24 hours), and following is my statement "SELECT MessageID, VName, count(VName) as count FROM DDIEvent(MajorType=4).std:groupwin(VName).win:time(3 hour).win:length(10) group by VName having…
Rex Feng
  • 17
  • 3
0
votes
1 answer

Is it possible to differentiate in a window among the removed items, when an item is updated or if it expired?

I'm novice in NESPER, and I have an application that works with a StateEvent (id string, ts long, State int). The application is based on the values supplied by ts(Timestamp) of the StateEvent. The values of the state property of StateEvent can be…
0
votes
1 answer

How elaborate more an intermediate event via a C# function invocation?

I'm novice in NESPER, and in some point of my application (stm-A), I need to use a function in C# that transform the original event in (possible) several different events (the original one enriched, and possibly additional events) I think that a…
0
votes
0 answers

nesper: how to see audit information

When you use the @Audit annotation in a sentence how / where can I find the @audit information in nesper? I have configured Configuration config = new Configuration(); config.EngineDefaults.ExecutionConfig.IsPrioritized = true; …
0
votes
1 answer

Nesper - LoaderExceptions

I am building a Nesper application and after deployment it throws this error: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. at…
littlecodefarmer758
  • 968
  • 2
  • 10
  • 23
0
votes
1 answer

Transform SQL JOIN SELECT to Esper EPL syntax

Let's consider a simple object with the same representation in a SQL database with properties(columns¨): Id, UserId,Ip. I would like to prepare a query that would generate event in case that one user logs in from 2 IP adresses (or more) within 1…
Vojtech B
  • 2,837
  • 7
  • 31
  • 59
0
votes
1 answer

EPL Esper query use historical time stored in event's property instead of publish time

Let's say that I have a simple object: public class StockTick{ private String symbol; private decimal price; private Date date; private int unixTimestamp } How should I modify following query to use StockTick.date or…
Vojtech B
  • 2,837
  • 7
  • 31
  • 59
0
votes
1 answer

Grouping and batching events in Esper

I am trying to group events by User and return them in batches (per user). For example, if 3 users each sent 5 events, I would like 3 batches of 5 events to be output from esper. Using the following EPL, I am able to validate that 3 data windows…
beterthanlife
  • 1,668
  • 2
  • 18
  • 30
0
votes
1 answer

Time mesauring of unique objects with Nesper

I would like to measure the time of cars with an unique Id with NEsper. My problem is, that there are several cars on a road. This road has predefined steps. I want to start to stop the time for every unique car that is in first step until this car…
0
votes
2 answers

Forcing output from an esper stream on expression

I've got an esper query for pulling market data. It looks like select * from L1Quote(Symbol='MSFT') This will fire when ever a new quote occurs. I require a first quote/event to do some initial setup. This is no problem for symbols where…
chollida
  • 7,834
  • 11
  • 55
  • 85
0
votes
3 answers

Nesper engine always tries to load types from Nesper.dll first

Every time I try to add a new type to my nesper engine, I get the following exception thrown in the nesper engine. Could not load type 'K2Common.Order' from assembly 'NEsper, Version=4.8.0.0, Culture=neutral, PublicKeyToken=null'. The engine eats…
chollida
  • 7,834
  • 11
  • 55
  • 85
0
votes
1 answer

Nesper - difference between MarketDepth.std.unique(key).win:time_batch(500 msec) vs MarketDepth.win:time_batch(500 msec).std:unique(key)

What is the difference between doing the following statements in Nesper MarketDepth.std.unique(key).win:time_batch(500 msec) vs MarketDepth.win:time_batch(500 msec).std:unique(key) Does the first one batch all events with the unique key and dispatch…
0
votes
1 answer

Nesper adding event types to my winforms app.config

I'm interested in defining multiple event-types my app.config file but it doesn't appear to get loaded by default. Is there something that I'm doing wrong? The event type doesn't exist within com.espertech.esper.client.Configuration. …