Class WindowAggregateQueryOperation
java.lang.Object
org.apache.flink.table.operations.WindowAggregateQueryOperation
- All Implemented Interfaces:
Operation,QueryOperation
Relational operation that performs computations on top of subsets of input rows grouped by key
and group window. It differs from
AggregateQueryOperation by the group window.-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionWindowAggregateQueryOperation(List<org.apache.flink.table.expressions.ResolvedExpression> groupingExpressions, List<org.apache.flink.table.expressions.ResolvedExpression> aggregateExpressions, List<org.apache.flink.table.expressions.ResolvedExpression> windowPropertiesExpressions, WindowAggregateQueryOperation.ResolvedGroupWindow groupWindow, QueryOperation child, org.apache.flink.table.catalog.ResolvedSchema resolvedSchema) -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(QueryOperationVisitor<T> visitor) Returns a string that fully serializes this instance.Returns a string that summarizes this operation for printing to a console.List<org.apache.flink.table.expressions.ResolvedExpression>List<org.apache.flink.table.expressions.ResolvedExpression>org.apache.flink.table.catalog.ResolvedSchemaResolved schema of this operation.List<org.apache.flink.table.expressions.ResolvedExpression>
-
Constructor Details
-
WindowAggregateQueryOperation
public WindowAggregateQueryOperation(List<org.apache.flink.table.expressions.ResolvedExpression> groupingExpressions, List<org.apache.flink.table.expressions.ResolvedExpression> aggregateExpressions, List<org.apache.flink.table.expressions.ResolvedExpression> windowPropertiesExpressions, WindowAggregateQueryOperation.ResolvedGroupWindow groupWindow, QueryOperation child, org.apache.flink.table.catalog.ResolvedSchema resolvedSchema)
-
-
Method Details
-
getResolvedSchema
public org.apache.flink.table.catalog.ResolvedSchema getResolvedSchema()Description copied from interface:QueryOperationResolved schema of this operation.- Specified by:
getResolvedSchemain interfaceQueryOperation
-
asSummaryString
Description copied from interface:OperationReturns a string that summarizes this operation for printing to a console. An implementation might skip very specific properties.- Specified by:
asSummaryStringin interfaceOperation- Returns:
- summary string of this operation for debugging purposes
-
asSerializableString
Description copied from interface:QueryOperationReturns a string that fully serializes this instance. The serialized string can be used for storing the query in e.g. aCatalogas a view.- Specified by:
asSerializableStringin interfaceQueryOperation- Returns:
- detailed string for persisting in a catalog
- See Also:
-
getGroupingExpressions
-
getAggregateExpressions
-
getWindowPropertiesExpressions
-
getGroupWindow
-
getChildren
- Specified by:
getChildrenin interfaceQueryOperation
-
accept
- Specified by:
acceptin interfaceQueryOperation
-