Package org.hibernate.sql.ast.spi
Class AliasCollector
java.lang.Object
org.hibernate.sql.ast.spi.AbstractSqlAstWalker
org.hibernate.sql.ast.spi.AliasCollector
- All Implemented Interfaces:
SqlAstWalker
A simple walker that checks for aggregate functions.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Map<String,
TableReference> getTableReferences
(SqlAstNode node) void
visitFunctionTableReference
(FunctionTableReference tableReference) void
visitNamedTableReference
(NamedTableReference tableReference) void
visitQueryPartTableReference
(QueryPartTableReference tableReference) void
visitValuesTableReference
(ValuesTableReference tableReference) Methods inherited from class org.hibernate.sql.ast.spi.AbstractSqlAstWalker
visitAggregateColumnWriteExpression, visitAny, visitAssignment, visitBetweenPredicate, visitBinaryArithmeticExpression, visitBooleanExpressionPredicate, visitCaseSearchedExpression, visitCaseSimpleExpression, visitCastTarget, visitCollation, visitColumnReference, visitColumnWriteFragment, visitConversion, visitCustomTableDelete, visitCustomTableInsert, visitCustomTableUpdate, visitDeleteStatement, visitDistinct, visitDuration, visitDurationUnit, visitEmbeddableTypeLiteral, visitEntityTypeLiteral, visitEvery, visitExistsPredicate, visitExtractUnit, visitFilterFragmentPredicate, visitFilterPredicate, visitFormat, visitFromClause, visitGroupedPredicate, visitInArrayPredicate, visitInListPredicate, visitInsertStatement, visitInSubQueryPredicate, visitJdbcLiteral, visitJunction, visitLikePredicate, visitModifiedSubQueryExpression, visitNegatedPredicate, visitNestedColumnReference, visitNullnessPredicate, visitOffsetFetchClause, visitOptionalTableUpdate, visitOver, visitOverflow, visitParameter, visitQueryGroup, visitQueryLiteral, visitQuerySpec, visitRelationalPredicate, visitSelectClause, visitSelectStatement, visitSelfRenderingExpression, visitSelfRenderingPredicate, visitSortSpecification, visitSqlFragmentPredicate, visitSqlSelection, visitSqlSelectionExpression, visitStandardTableDelete, visitStandardTableInsert, visitStandardTableUpdate, visitStar, visitSummarization, visitTableGroup, visitTableGroupJoin, visitTableReferenceJoin, visitThruthnessPredicate, visitTrimSpecification, visitTuple, visitUnaryOperationExpression, visitUnparsedNumericLiteral, visitUpdateStatement
-
Constructor Details
-
AliasCollector
public AliasCollector()
-
-
Method Details
-
getTableReferences
-
visitNamedTableReference
- Specified by:
visitNamedTableReference
in interfaceSqlAstWalker
- Overrides:
visitNamedTableReference
in classAbstractSqlAstWalker
-
visitValuesTableReference
- Specified by:
visitValuesTableReference
in interfaceSqlAstWalker
- Overrides:
visitValuesTableReference
in classAbstractSqlAstWalker
-
visitQueryPartTableReference
- Specified by:
visitQueryPartTableReference
in interfaceSqlAstWalker
- Overrides:
visitQueryPartTableReference
in classAbstractSqlAstWalker
-
visitFunctionTableReference
- Specified by:
visitFunctionTableReference
in interfaceSqlAstWalker
- Overrides:
visitFunctionTableReference
in classAbstractSqlAstWalker
-