Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# Example ESP Query Strings

ESP uses continuous queries only, and the query string must include `accept: new` in the stream policy clause.

See Stream Clause. For example:

    select count(*) as theCount from /InferenceOntology/DirectToQueryEvent {policy: maintain last 10 seconds; accept: new} as dtq\n group by 1;
    select sum(currentCount) as theSum from /QueryOntology/Level2QueryEvent {policy: maintain last 25 seconds; accept: new} as l2q\n group by 1;

An example project demonstrating ESP queries is provided in the directory BE_HOME`/Examples/event_stream_processing/QueryESP`.

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.