Class WindowAggregateQueryOperation.ResolvedGroupWindow
- java.lang.Object
-
- org.apache.flink.table.operations.WindowAggregateQueryOperation.ResolvedGroupWindow
-
- Enclosing class:
- WindowAggregateQueryOperation
@Internal public static class WindowAggregateQueryOperation.ResolvedGroupWindow extends Object
Wrapper for resolved expressions of aGroupWindow.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowAggregateQueryOperation.ResolvedGroupWindow.WindowTypeThe type of window.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringasSerializableString(String table)StringasSummaryString()StringgetAlias()Optional<org.apache.flink.table.expressions.ValueLiteralExpression>getGap()Gap of aWindowAggregateQueryOperation.ResolvedGroupWindow.WindowType.SESSIONwindow.Optional<org.apache.flink.table.expressions.ValueLiteralExpression>getSize()Optional<org.apache.flink.table.expressions.ValueLiteralExpression>getSlide()Slide ofWindowAggregateQueryOperation.ResolvedGroupWindow.WindowType.SLIDEwindow.org.apache.flink.table.expressions.FieldReferenceExpressiongetTimeAttribute()WindowAggregateQueryOperation.ResolvedGroupWindow.WindowTypegetType()static WindowAggregateQueryOperation.ResolvedGroupWindowsessionWindow(String alias, org.apache.flink.table.expressions.FieldReferenceExpression timeAttribute, org.apache.flink.table.expressions.ValueLiteralExpression gap)static WindowAggregateQueryOperation.ResolvedGroupWindowslidingWindow(String alias, org.apache.flink.table.expressions.FieldReferenceExpression timeAttribute, org.apache.flink.table.expressions.ValueLiteralExpression size, org.apache.flink.table.expressions.ValueLiteralExpression slide)static WindowAggregateQueryOperation.ResolvedGroupWindowtumblingWindow(String alias, org.apache.flink.table.expressions.FieldReferenceExpression timeAttribute, org.apache.flink.table.expressions.ValueLiteralExpression size)
-
-
-
Method Detail
-
slidingWindow
public static WindowAggregateQueryOperation.ResolvedGroupWindow slidingWindow(String alias, org.apache.flink.table.expressions.FieldReferenceExpression timeAttribute, org.apache.flink.table.expressions.ValueLiteralExpression size, org.apache.flink.table.expressions.ValueLiteralExpression slide)
-
tumblingWindow
public static WindowAggregateQueryOperation.ResolvedGroupWindow tumblingWindow(String alias, org.apache.flink.table.expressions.FieldReferenceExpression timeAttribute, org.apache.flink.table.expressions.ValueLiteralExpression size)
-
sessionWindow
public static WindowAggregateQueryOperation.ResolvedGroupWindow sessionWindow(String alias, org.apache.flink.table.expressions.FieldReferenceExpression timeAttribute, org.apache.flink.table.expressions.ValueLiteralExpression gap)
-
getType
public WindowAggregateQueryOperation.ResolvedGroupWindow.WindowType getType()
-
getTimeAttribute
public org.apache.flink.table.expressions.FieldReferenceExpression getTimeAttribute()
-
getAlias
public String getAlias()
-
getSlide
public Optional<org.apache.flink.table.expressions.ValueLiteralExpression> getSlide()
Slide ofWindowAggregateQueryOperation.ResolvedGroupWindow.WindowType.SLIDEwindow. Empty for other windows.- Returns:
- slide of a slide window
-
getSize
public Optional<org.apache.flink.table.expressions.ValueLiteralExpression> getSize()
Size of aWindowAggregateQueryOperation.ResolvedGroupWindow.WindowType.TUMBLEorWindowAggregateQueryOperation.ResolvedGroupWindow.WindowType.SLIDEwindow. Empty forWindowAggregateQueryOperation.ResolvedGroupWindow.WindowType.SESSIONwindow.- Returns:
- size of a window
-
getGap
public Optional<org.apache.flink.table.expressions.ValueLiteralExpression> getGap()
Gap of aWindowAggregateQueryOperation.ResolvedGroupWindow.WindowType.SESSIONwindow. Empty for other types of windows.- Returns:
- gap of a session window
-
asSummaryString
public String asSummaryString()
-
-