Continuous Queries in GSN - LSIR/gsn GitHub Wiki
GSN has two attributes for supporting continuous queries. These attributes are only available in source elements. These attributes support both time and count based values. Time-based values are consisting of integers immediately followed by s, m, h for seconds, minute and hour respectively. Count-based value is a single integer number. In order to understand how these two attributes work, please refer to book of GSN.
- "slide" specifies the sliding value.
- "storage-size" specifies the window size.
Example, window-size of 10 and sliding value of 1 minute.
<source alias="source1" sampling-rate="1" storage-size="10" slide="1m" >