@Internal public class WindowAggregateQueryOperation extends Object implements QueryOperation
AggregateQueryOperation
by the group window.Modifier and Type | Class and Description |
---|---|
static class |
WindowAggregateQueryOperation.ResolvedGroupWindow
Wrapper for resolved expressions of a
GroupWindow . |
Constructor and Description |
---|
WindowAggregateQueryOperation(List<ResolvedExpression> groupingExpressions,
List<ResolvedExpression> aggregateExpressions,
List<ResolvedExpression> windowPropertiesExpressions,
WindowAggregateQueryOperation.ResolvedGroupWindow groupWindow,
QueryOperation child,
TableSchema tableSchema) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(QueryOperationVisitor<T> visitor) |
String |
asSummaryString()
Returns a string that summarizes this operation for printing to a console.
|
List<ResolvedExpression> |
getAggregateExpressions() |
List<QueryOperation> |
getChildren() |
List<ResolvedExpression> |
getGroupingExpressions() |
WindowAggregateQueryOperation.ResolvedGroupWindow |
getGroupWindow() |
TableSchema |
getTableSchema()
Resolved schema of this operation.
|
List<ResolvedExpression> |
getWindowPropertiesExpressions() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asSerializableString
public WindowAggregateQueryOperation(List<ResolvedExpression> groupingExpressions, List<ResolvedExpression> aggregateExpressions, List<ResolvedExpression> windowPropertiesExpressions, WindowAggregateQueryOperation.ResolvedGroupWindow groupWindow, QueryOperation child, TableSchema tableSchema)
public TableSchema getTableSchema()
QueryOperation
getTableSchema
in interface QueryOperation
public String asSummaryString()
Operation
asSummaryString
in interface Operation
public List<ResolvedExpression> getGroupingExpressions()
public List<ResolvedExpression> getAggregateExpressions()
public List<ResolvedExpression> getWindowPropertiesExpressions()
public WindowAggregateQueryOperation.ResolvedGroupWindow getGroupWindow()
public List<QueryOperation> getChildren()
getChildren
in interface QueryOperation
public <T> T accept(QueryOperationVisitor<T> visitor)
accept
in interface QueryOperation
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.