Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

WINDOW

Description

Parameter

  • size: The size of the window
  • advance: The advance the window moves forward
  • slide: The slide of the window
  • type: The type of the window. The possible values are Time, Tuple, and Unbound
  • partition: The partition attribute of the window
  • startCondition: The start condition for a predicate window
  • endCondition: The end condition for a predicate window

Example

Code Block
themeEclipse
languagejavascript
titleWindow Operator
linenumberstrue
//sliding time

...

 window
 output = window({size = 5, advance = 1, type = 'time'},

...

 input)

 //sliding tuple window partioniert ueber

...

 bidder
 output = window({size = 5, advance = 1, type = 'tuple', partition=['bidder']},

...

 input) 

 //unbounded

...

 window
 output = window({type = 'unbounded'},

...

 input) 

 //now window (size = 1, advance = 1)

...


 output = window({type = 'time'},

...

 input)

 //sliding delta window, reduces time granularity to value of

...

 slide
 output = window({size = 5, type = 'time', slide = 5},

...

 input)

 // Predicate

...

 window
 output = window({startCondition=RelationalPredicate('a>10'), endCondition = RelationalPredicate('a<10')},

...

 input)

 


Benchmark

 

BATCHPRODUCER

Description

...