Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

tremor-query

< >

tremor-query is a query language created in 2019.

#2890on PLDB 5Years Old

The tremor query language, tremor-query or trickle is an interpreted statement-oriented language designed for continuous online structured queries with support filtering, extraction, transformation and streaming of structured data in a stream or event-based processing system.


Example from the web:
define grouper::bucket operator kfc; define script categorize script let $rate = 1; let $class = event.`group`; { "event": event, "rate": $rate, "class": $class }; end; create script categorize; # Stream ingested data into categorize script select event from in into categorize; create operator kfc; # Stream scripted events into kfc bucket operator select event from categorize into kfc; # Stream bucketed events into out stream select event from kfc into out;

Language features

Feature Supported Example Token
Comments ✓ # A comment
Line Comments ✓ # A comment #
Semantic Indentation X

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v154.3.0