简体   繁体   English

Esper-'or'关键字

[英]Esper - the 'or' keyword

is there a shortcut to write the 'or' in esper just like sql? 是否有像sql一样在esper中编写“或”的快捷方式?

for example if I have the following EPL: "select * from event(price = 2 or price = 4 or price = 184)" Is it possible to have something in really short like for example: "select * from event(price = 2/4/184)" ? 例如,如果我具有以下EPL:“从事件中选择*(价格= 2或价格= 4或价格= 184)”是否可能会出现真正简短的内容,例如:“从事件中选择*(价格= 2 / 4/184)“? I have tried the sql format, the coma, ect.. but nothing seems to work and writing explicitly becomes tedious if you have many values to compare to. 我已经尝试了sql格式,昏迷等等。但是似乎没有任何效果,并且如果您有许多要比较的值,显式编写将变得乏味。 Thanks for your help :) 谢谢你的帮助 :)

EPL遵守SQL标准,并允许“价格为(2,4,184)”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM