public class TumbleWithSize 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 |
---|
TumbleWithSize(Expression size) |
TumbleWithSize(String size)
Tumbling window.
|
Modifier and Type | Method and Description |
---|---|
TumbleWithSizeOnTime |
on(Expression timeField)
Specifies the time attribute on which rows are grouped.
|
TumbleWithSizeOnTime |
on(String timeField)
Specifies the time attribute on which rows are grouped.
|
public TumbleWithSize(Expression size)
public TumbleWithSize(String size)
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.
size
- the size of the window either as time or row-count interval.public TumbleWithSizeOnTime 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 TumbleWithSizeOnTime 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.