Questions tagged [epl]

EPL stands for the "Eltron Programming Language" and is a proprietary programming language used to communicate to Zebra (formerly Eltron) branded printers

EPL Programming Guide

EPL Wikipedia page

121 questions
0
votes
1 answer

Esper : adding an event to Time-Accumulating window provided one condition on attribute

I've been working with Esper recently and there's a feature I missed in the documentation but it might exist. I would like to store some events until no one pops up for 15 sec, and when it happens release them all. One query does exactly that, it's…
Tchak
  • 21
  • 6
0
votes
1 answer

esper grouping output multiple newEvents

My epl is simple: select symbol, sum(price) from MarketData(symbol!='').win:time(5.5 sec) group by symbol The listener: update(EventBean[] newEvents, EventBean[] oldEvents) { System.out.println(newEvents.length); //sometimes it's greater than…
bylijinnan
  • 756
  • 3
  • 11
  • 27
0
votes
1 answer

Esper discard events

I have a platform that leverages Esper. However, all events are inserted into the Event table and sent to Esper to process. My rules are specific to only around 10% of the data set but the 90% other data going through the engine is bottlenecking my…
0
votes
2 answers

Opposite of lastUnique()

New to Esper and EPL in general, i have two use cases which are basically the opposites of oneanother. First I need to catch all unique events in a timewindow, using firstunique(*parameters*).win:time(*time*). Now what I need to do is the exact…
0
votes
1 answer

How to fire pattern on partial match in Esper CEP

I'm trying to solve route-violation problem. User defines a route as series of location sequences (in exact order) that some item needs to be seen on. So lets say that correct route is (this is defined by user) A -> B -> C I'm trying to write Esper…
rjovic
  • 1,207
  • 2
  • 16
  • 37
0
votes
1 answer

EPL pattern to match latest A and all Bs with filter

I am trying to find an EPL pattern that will match the latest A followed by any & all B(prop1=A.prop1). Using the same sequence as defined in Esper's documentation... A1 B1 C1 B2 A2 D1 A3 B3 E1 A4 F1 B4 I am looking for a…
Nik
  • 250
  • 1
  • 11
0
votes
1 answer

Using epls for multiple dependent level calculations

I am new to Esper. I need help to maintain the EPL flow. I have a java class EsperTest.java, that class is sending the data to EPL for the calculation in every 10 Sec. In EPL's I have 4 Compression Level. E.g. CompressionA, CompressionB,…
Ankit Jain
  • 315
  • 3
  • 18
0
votes
1 answer

Character problems Zebra label thermal printer

I want to use print product information on label printer. I have Zebra TLP 2844 This printer support EPL2 programming language. When I want to print non-ASCII character printer just print "?" instead of the correct character. What I did? First I…
sancho
  • 598
  • 2
  • 8
  • 22
0
votes
1 answer

How to keep distinctness until specific condition is true on EPL ESPER

I have two event types (A and B). I would like to write a pattern which detects every B event which comes after A event with the same id: every A -> B (A.id = B.id). However, it should be distinct ids. In other words, the pattern should ignore all A…
korujzade
  • 400
  • 4
  • 23
0
votes
1 answer

ESim (EPL Simulator) : don't know how to send data to printer

I'm using an Intermec printer PC43d set up for ESim. And I don't know how to send data to this printer in PHP or javascript. The printer is detected on my computer and I can print labels with bar code. I would like to send to this printer something…
Fr0z3n7
  • 2,548
  • 2
  • 14
  • 15
0
votes
1 answer

Simple sequence of events

Assume events of either type A, B, C or D are being emitted. I want to detect whenever an event of type A is followed by an event of type B. In other words, I want to detect a sequences, for which Esper's EPL provides the -> operator. However, what…
typeduke
  • 6,494
  • 6
  • 25
  • 34
0
votes
1 answer

Esper user defined functions which takes two parameters

I want to write an esper epl expression which filter the events based on the return value returned by my user-defined function, my user defined must take two event objects at a time. so I wrote a query like this. select window(*), 'CANDLE NAME' as…
Prasad Lakmal
  • 149
  • 1
  • 9
0
votes
1 answer

How to make esper epl divide section and compare value

I am new using esper. I don't know well about esper epl, so I'm in trouble. Problem is this. User define the value section. For Example, Level1 : 1~3 Level2 : 4~6 Level3 : 7~9 So when the data come first, check the section and make events. But…
masa
  • 23
  • 6
0
votes
1 answer

How do I print a counter function using EPL 2?

I can create a counter function using EPL, as well as print ascii text but I cannot figure out how to print a counter function in EPL. I have attempted to use the programming manual however the example used to print a counter does not work. I…
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
1 2 3
8 9