public class SlideWithSizeAndSlide extends Object
For streaming tables you can specify grouping by a event-time or processing-time attribute.
For batch tables you can specify grouping on a timestamp or long attribute.
param: size the size of the window either as time or row-count interval.
Constructor and Description |
---|
SlideWithSizeAndSlide(Expression size,
Expression slide) |
Modifier and Type | Method and Description |
---|---|
SlideWithSizeAndSlideOnTime |
on(Expression timeField)
Specifies the time attribute on which rows are grouped.
|
SlideWithSizeAndSlideOnTime |
on(String timeField)
Specifies the time attribute on which rows are grouped.
|
public SlideWithSizeAndSlide(Expression size, Expression slide)
public SlideWithSizeAndSlideOnTime on(Expression timeField)
For streaming tables you can specify grouping by a event-time or processing-time attribute.
For batch tables you can specify grouping on a timestamp or long attribute.
timeField
- time attribute for streaming and batch tablespublic SlideWithSizeAndSlideOnTime on(String timeField)
For streaming tables you can specify grouping by a event-time or processing-time attribute.
For batch tables you can specify grouping on a timestamp or long attribute.
timeField
- time attribute for streaming and batch tablesCopyright © 2014–2018 The Apache Software Foundation. All rights reserved.