Esempio n. 1
0
File: table.py Progetto: euwen/faust
 def tumbling(self, size: Seconds,
              expires: Seconds = None,
              key_index: bool = False) -> WindowWrapperT:
     return self.using_window(
         windows.TumblingWindow(size, expires),
         key_index=key_index,
     )
Esempio n. 2
0
 def tumbling(self,
              size: Seconds,
              expires: Optional[Seconds] = None,
              key_index: bool = False) -> WindowWrapperT:
     """Wrap table in a tumbling window."""
     return self.using_window(
         windows.TumblingWindow(size, expires),
         key_index=key_index,
     )
Esempio n. 3
0
 def tumbling(self, size: Seconds,
              expires: Seconds = None) -> WindowWrapperT:
     return self.using_window(windows.TumblingWindow(size, expires))