@Internal public static class WindowAggregateQueryOperation.ResolvedGroupWindow extends Object
GroupWindow
.Modifier and Type | Class and Description |
---|---|
static class |
WindowAggregateQueryOperation.ResolvedGroupWindow.WindowType
The type of window.
|
public static WindowAggregateQueryOperation.ResolvedGroupWindow slidingWindow(String alias, FieldReferenceExpression timeAttribute, ValueLiteralExpression size, ValueLiteralExpression slide)
public static WindowAggregateQueryOperation.ResolvedGroupWindow tumblingWindow(String alias, FieldReferenceExpression timeAttribute, ValueLiteralExpression size)
public static WindowAggregateQueryOperation.ResolvedGroupWindow sessionWindow(String alias, FieldReferenceExpression timeAttribute, ValueLiteralExpression gap)
public WindowAggregateQueryOperation.ResolvedGroupWindow.WindowType getType()
public FieldReferenceExpression getTimeAttribute()
public String getAlias()
public Optional<ValueLiteralExpression> getSlide()
WindowAggregateQueryOperation.ResolvedGroupWindow.WindowType.SLIDE
window. Empty for other windows.public Optional<ValueLiteralExpression> getSize()
WindowAggregateQueryOperation.ResolvedGroupWindow.WindowType.TUMBLE
or WindowAggregateQueryOperation.ResolvedGroupWindow.WindowType.SLIDE
window. Empty for
WindowAggregateQueryOperation.ResolvedGroupWindow.WindowType.SESSION
window.public Optional<ValueLiteralExpression> getGap()
WindowAggregateQueryOperation.ResolvedGroupWindow.WindowType.SESSION
window. Empty for other types of windows.public String asSummaryString()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.