Package org.apache.calcite.sql.validate
Class GroupByScope
java.lang.Object
org.apache.calcite.sql.validate.DelegatingScope
org.apache.calcite.sql.validate.GroupByScope
- All Implemented Interfaces:
- SqlValidatorScope
Represents the name-resolution context for expressions in an GROUP BY clause.
 
In some dialects of SQL, the GROUP BY clause can reference column aliases in the SELECT clause. For example, the query
SELECT empno AS x
 FROM emp
 GROUP BY xis valid.
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.calcite.sql.validate.SqlValidatorScopeSqlValidatorScope.EmptyPath, SqlValidatorScope.Path, SqlValidatorScope.Resolve, SqlValidatorScope.Resolved, SqlValidatorScope.ResolvedImpl, SqlValidatorScope.Step
- 
Field SummaryFields inherited from class org.apache.calcite.sql.validate.DelegatingScopeparent, resolved, validator
- 
Method SummaryModifier and TypeMethodDescriptiongetNode()Returns the root node of this scope.voidvalidateExpr(SqlNode expr) Performs any scope-specific validation of an expression.Methods inherited from class org.apache.calcite.sql.validate.DelegatingScopeaddChild, addColumnNames, analyze, findAliases, findAllColumnNames, findQualifyingTableName, findQualifyingTableNames, fullyQualify, getMonotonicity, getOperandScope, getOrderList, getParent, getTableNamespace, getValidator, lookupWindow, nullifyType, qualifyUsingAlias, resolve, resolveColumn, resolveTableMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.calcite.sql.validate.SqlValidatorScopeisMeasureRef, isWithin
- 
Method Details- 
getNodeDescription copied from interface:SqlValidatorScopeReturns the root node of this scope. Never null.
- 
validateExprDescription copied from interface:SqlValidatorScopePerforms any scope-specific validation of an expression. For example, an aggregating scope requires that expressions are valid aggregations. The expression has already been validated.- Specified by:
- validateExprin interface- SqlValidatorScope
- Overrides:
- validateExprin class- DelegatingScope
 
 
-