NEsperを使おうとしていて、リターンフィールドとして挿入してから時間がかかるステートメントを作成したいです。
例: Blah.win:time(1 分) から timeElapsed として avg((insertTime - now)) を選択します。
これは可能ですか?insertTime をハックすることはできますが、now 関数はありますか?
You can use current_timestamp. It returns the current time in milliseconds.
For example select avg((insertTime - current_timestamp))
See there for more information: http://esper.codehaus.org/esper-2.1.0/doc/reference/en/html/functionreference.html