Package org.hibernate.sql.ast.spi
Class AbstractSqlAstWalker
- java.lang.Object
-
- org.hibernate.sql.ast.spi.AbstractSqlAstWalker
-
- All Implemented Interfaces:
SqlAstWalker
- Direct Known Subclasses:
AggregateFunctionChecker
,AliasCollector
,ColumnReferenceCheckingSqlAstWalker
,TableGroupHelper
public class AbstractSqlAstWalker extends Object implements SqlAstWalker
A simple walker that checks for aggregate functions.
-
-
Constructor Summary
Constructors Constructor Description AbstractSqlAstWalker()
-
Method Summary
-
-
-
Method Detail
-
visitAny
public void visitAny(Any any)
- Specified by:
visitAny
in interfaceSqlAstWalker
-
visitEvery
public void visitEvery(Every every)
- Specified by:
visitEvery
in interfaceSqlAstWalker
-
visitSelfRenderingExpression
public void visitSelfRenderingExpression(SelfRenderingExpression expression)
- Specified by:
visitSelfRenderingExpression
in interfaceSqlAstWalker
-
visitSortSpecification
public void visitSortSpecification(SortSpecification sortSpecification)
- Specified by:
visitSortSpecification
in interfaceSqlAstWalker
-
visitSelectClause
public void visitSelectClause(SelectClause selectClause)
- Specified by:
visitSelectClause
in interfaceSqlAstWalker
-
visitSqlSelection
public void visitSqlSelection(SqlSelection sqlSelection)
- Specified by:
visitSqlSelection
in interfaceSqlAstWalker
-
visitBinaryArithmeticExpression
public void visitBinaryArithmeticExpression(BinaryArithmeticExpression arithmeticExpression)
- Specified by:
visitBinaryArithmeticExpression
in interfaceSqlAstWalker
-
visitCaseSearchedExpression
public void visitCaseSearchedExpression(CaseSearchedExpression caseSearchedExpression)
- Specified by:
visitCaseSearchedExpression
in interfaceSqlAstWalker
-
visitCaseSimpleExpression
public void visitCaseSimpleExpression(CaseSimpleExpression caseSimpleExpression)
- Specified by:
visitCaseSimpleExpression
in interfaceSqlAstWalker
-
visitTuple
public void visitTuple(SqlTuple tuple)
- Specified by:
visitTuple
in interfaceSqlAstWalker
-
visitCollation
public void visitCollation(Collation collation)
- Specified by:
visitCollation
in interfaceSqlAstWalker
-
visitUnaryOperationExpression
public void visitUnaryOperationExpression(UnaryOperation unaryOperationExpression)
- Specified by:
visitUnaryOperationExpression
in interfaceSqlAstWalker
-
visitModifiedSubQueryExpression
public void visitModifiedSubQueryExpression(ModifiedSubQueryExpression expression)
- Specified by:
visitModifiedSubQueryExpression
in interfaceSqlAstWalker
-
visitBooleanExpressionPredicate
public void visitBooleanExpressionPredicate(BooleanExpressionPredicate booleanExpressionPredicate)
- Specified by:
visitBooleanExpressionPredicate
in interfaceSqlAstWalker
-
visitBetweenPredicate
public void visitBetweenPredicate(BetweenPredicate betweenPredicate)
- Specified by:
visitBetweenPredicate
in interfaceSqlAstWalker
-
visitGroupedPredicate
public void visitGroupedPredicate(GroupedPredicate groupedPredicate)
- Specified by:
visitGroupedPredicate
in interfaceSqlAstWalker
-
visitJunction
public void visitJunction(Junction junction)
- Specified by:
visitJunction
in interfaceSqlAstWalker
-
visitLikePredicate
public void visitLikePredicate(LikePredicate likePredicate)
- Specified by:
visitLikePredicate
in interfaceSqlAstWalker
-
visitNegatedPredicate
public void visitNegatedPredicate(NegatedPredicate negatedPredicate)
- Specified by:
visitNegatedPredicate
in interfaceSqlAstWalker
-
visitNullnessPredicate
public void visitNullnessPredicate(NullnessPredicate nullnessPredicate)
- Specified by:
visitNullnessPredicate
in interfaceSqlAstWalker
-
visitThruthnessPredicate
public void visitThruthnessPredicate(ThruthnessPredicate thruthnessPredicate)
- Specified by:
visitThruthnessPredicate
in interfaceSqlAstWalker
-
visitRelationalPredicate
public void visitRelationalPredicate(ComparisonPredicate comparisonPredicate)
- Specified by:
visitRelationalPredicate
in interfaceSqlAstWalker
-
visitSelfRenderingPredicate
public void visitSelfRenderingPredicate(SelfRenderingPredicate selfRenderingPredicate)
- Specified by:
visitSelfRenderingPredicate
in interfaceSqlAstWalker
-
visitOver
public void visitOver(Over<?> over)
- Specified by:
visitOver
in interfaceSqlAstWalker
-
visitSelectStatement
public void visitSelectStatement(SelectStatement statement)
- Specified by:
visitSelectStatement
in interfaceSqlAstWalker
-
visitDeleteStatement
public void visitDeleteStatement(DeleteStatement statement)
- Specified by:
visitDeleteStatement
in interfaceSqlAstWalker
-
visitUpdateStatement
public void visitUpdateStatement(UpdateStatement statement)
- Specified by:
visitUpdateStatement
in interfaceSqlAstWalker
-
visitInsertStatement
public void visitInsertStatement(InsertSelectStatement statement)
- Specified by:
visitInsertStatement
in interfaceSqlAstWalker
-
visitAssignment
public void visitAssignment(Assignment assignment)
- Specified by:
visitAssignment
in interfaceSqlAstWalker
-
visitQueryGroup
public void visitQueryGroup(QueryGroup queryGroup)
- Specified by:
visitQueryGroup
in interfaceSqlAstWalker
-
visitQuerySpec
public void visitQuerySpec(QuerySpec querySpec)
- Specified by:
visitQuerySpec
in interfaceSqlAstWalker
-
visitDistinct
public void visitDistinct(Distinct distinct)
- Specified by:
visitDistinct
in interfaceSqlAstWalker
-
visitOverflow
public void visitOverflow(Overflow overflow)
- Specified by:
visitOverflow
in interfaceSqlAstWalker
-
visitOffsetFetchClause
public void visitOffsetFetchClause(QueryPart querySpec)
- Specified by:
visitOffsetFetchClause
in interfaceSqlAstWalker
-
visitDuration
public void visitDuration(Duration duration)
- Specified by:
visitDuration
in interfaceSqlAstWalker
-
visitConversion
public void visitConversion(Conversion conversion)
- Specified by:
visitConversion
in interfaceSqlAstWalker
-
visitInListPredicate
public void visitInListPredicate(InListPredicate inListPredicate)
- Specified by:
visitInListPredicate
in interfaceSqlAstWalker
-
visitInArrayPredicate
public void visitInArrayPredicate(InArrayPredicate predicate)
- Specified by:
visitInArrayPredicate
in interfaceSqlAstWalker
-
visitInSubQueryPredicate
public void visitInSubQueryPredicate(InSubQueryPredicate inSubQueryPredicate)
- Specified by:
visitInSubQueryPredicate
in interfaceSqlAstWalker
-
visitExistsPredicate
public void visitExistsPredicate(ExistsPredicate existsPredicate)
- Specified by:
visitExistsPredicate
in interfaceSqlAstWalker
-
visitSummarization
public void visitSummarization(Summarization every)
- Specified by:
visitSummarization
in interfaceSqlAstWalker
-
visitSqlSelectionExpression
public void visitSqlSelectionExpression(SqlSelectionExpression expression)
- Specified by:
visitSqlSelectionExpression
in interfaceSqlAstWalker
-
visitTableReferenceJoin
public void visitTableReferenceJoin(TableReferenceJoin tableReferenceJoin)
- Specified by:
visitTableReferenceJoin
in interfaceSqlAstWalker
-
visitFromClause
public void visitFromClause(FromClause fromClause)
- Specified by:
visitFromClause
in interfaceSqlAstWalker
-
visitTableGroup
public void visitTableGroup(TableGroup tableGroup)
- Specified by:
visitTableGroup
in interfaceSqlAstWalker
-
visitTableGroupJoin
public void visitTableGroupJoin(TableGroupJoin tableGroupJoin)
- Specified by:
visitTableGroupJoin
in interfaceSqlAstWalker
-
visitColumnReference
public void visitColumnReference(ColumnReference columnReference)
- Specified by:
visitColumnReference
in interfaceSqlAstWalker
-
visitNestedColumnReference
public void visitNestedColumnReference(NestedColumnReference nestedColumnReference)
- Specified by:
visitNestedColumnReference
in interfaceSqlAstWalker
-
visitAggregateColumnWriteExpression
public void visitAggregateColumnWriteExpression(AggregateColumnWriteExpression aggregateColumnWriteExpression)
- Specified by:
visitAggregateColumnWriteExpression
in interfaceSqlAstWalker
-
visitExtractUnit
public void visitExtractUnit(ExtractUnit extractUnit)
- Specified by:
visitExtractUnit
in interfaceSqlAstWalker
-
visitFormat
public void visitFormat(Format format)
- Specified by:
visitFormat
in interfaceSqlAstWalker
-
visitStar
public void visitStar(Star star)
- Specified by:
visitStar
in interfaceSqlAstWalker
-
visitTrimSpecification
public void visitTrimSpecification(TrimSpecification trimSpecification)
- Specified by:
visitTrimSpecification
in interfaceSqlAstWalker
-
visitCastTarget
public void visitCastTarget(CastTarget castTarget)
- Specified by:
visitCastTarget
in interfaceSqlAstWalker
-
visitDurationUnit
public void visitDurationUnit(DurationUnit durationUnit)
- Specified by:
visitDurationUnit
in interfaceSqlAstWalker
-
visitFilterPredicate
public void visitFilterPredicate(FilterPredicate filterPredicate)
- Specified by:
visitFilterPredicate
in interfaceSqlAstWalker
-
visitFilterFragmentPredicate
public void visitFilterFragmentPredicate(FilterPredicate.FilterFragmentPredicate fragmentPredicate)
- Specified by:
visitFilterFragmentPredicate
in interfaceSqlAstWalker
-
visitSqlFragmentPredicate
public void visitSqlFragmentPredicate(SqlFragmentPredicate predicate)
- Specified by:
visitSqlFragmentPredicate
in interfaceSqlAstWalker
-
visitParameter
public void visitParameter(JdbcParameter jdbcParameter)
- Specified by:
visitParameter
in interfaceSqlAstWalker
-
visitJdbcLiteral
public void visitJdbcLiteral(JdbcLiteral<?> jdbcLiteral)
- Specified by:
visitJdbcLiteral
in interfaceSqlAstWalker
-
visitQueryLiteral
public void visitQueryLiteral(QueryLiteral<?> queryLiteral)
- Specified by:
visitQueryLiteral
in interfaceSqlAstWalker
-
visitUnparsedNumericLiteral
public <N extends Number> void visitUnparsedNumericLiteral(UnparsedNumericLiteral<N> literal)
- Specified by:
visitUnparsedNumericLiteral
in interfaceSqlAstWalker
-
visitEntityTypeLiteral
public void visitEntityTypeLiteral(EntityTypeLiteral expression)
- Specified by:
visitEntityTypeLiteral
in interfaceSqlAstWalker
-
visitEmbeddableTypeLiteral
public void visitEmbeddableTypeLiteral(EmbeddableTypeLiteral expression)
- Specified by:
visitEmbeddableTypeLiteral
in interfaceSqlAstWalker
-
visitNamedTableReference
public void visitNamedTableReference(NamedTableReference tableReference)
- Specified by:
visitNamedTableReference
in interfaceSqlAstWalker
-
visitValuesTableReference
public void visitValuesTableReference(ValuesTableReference tableReference)
- Specified by:
visitValuesTableReference
in interfaceSqlAstWalker
-
visitQueryPartTableReference
public void visitQueryPartTableReference(QueryPartTableReference tableReference)
- Specified by:
visitQueryPartTableReference
in interfaceSqlAstWalker
-
visitFunctionTableReference
public void visitFunctionTableReference(FunctionTableReference tableReference)
- Specified by:
visitFunctionTableReference
in interfaceSqlAstWalker
-
visitStandardTableInsert
public void visitStandardTableInsert(TableInsertStandard tableInsert)
- Specified by:
visitStandardTableInsert
in interfaceSqlAstWalker
-
visitCustomTableInsert
public void visitCustomTableInsert(TableInsertCustomSql tableInsert)
- Specified by:
visitCustomTableInsert
in interfaceSqlAstWalker
-
visitStandardTableUpdate
public void visitStandardTableUpdate(TableUpdateStandard tableUpdate)
- Specified by:
visitStandardTableUpdate
in interfaceSqlAstWalker
-
visitOptionalTableUpdate
public void visitOptionalTableUpdate(OptionalTableUpdate tableUpdate)
- Specified by:
visitOptionalTableUpdate
in interfaceSqlAstWalker
-
visitCustomTableUpdate
public void visitCustomTableUpdate(TableUpdateCustomSql tableUpdate)
- Specified by:
visitCustomTableUpdate
in interfaceSqlAstWalker
-
visitColumnWriteFragment
public void visitColumnWriteFragment(ColumnWriteFragment columnWriteFragment)
- Specified by:
visitColumnWriteFragment
in interfaceSqlAstWalker
-
visitStandardTableDelete
public void visitStandardTableDelete(TableDeleteStandard tableDelete)
- Specified by:
visitStandardTableDelete
in interfaceSqlAstWalker
-
visitCustomTableDelete
public void visitCustomTableDelete(TableDeleteCustomSql tableDelete)
- Specified by:
visitCustomTableDelete
in interfaceSqlAstWalker
-
-