public interface AggregatingScope extends SqlValidatorScope
SqlValidatorScope interface which indicates that
the scope is aggregating.
A scope which is aggregating must implement this interface. Such a scope will return the same set of identifiers as its parent scope, but some of those identifiers may not be accessible because they are not in the GROUP BY clause.
SqlValidatorScope.EmptyPath, SqlValidatorScope.Path, SqlValidatorScope.Resolve, SqlValidatorScope.Resolved, SqlValidatorScope.ResolvedImpl, SqlValidatorScope.Step| Modifier and Type | Method and Description |
|---|---|
boolean |
checkAggregateExpr(SqlNode expr,
boolean deep)
Checks whether an expression is constant within the GROUP BY clause.
|
addChild, findAliases, findAllColumnNames, findQualifyingTableName, findQualifyingTableNames, fullyQualify, getMonotonicity, getNode, getOperandScope, getOrderList, getTableNamespace, getValidator, lookupWindow, nullifyType, resolve, resolveColumn, resolveTable, validateExprboolean checkAggregateExpr(SqlNode expr, boolean deep)
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.