Class ColumnReferenceCheckingSqlAstWalker
- java.lang.Object
-
- org.hibernate.sql.ast.spi.AbstractSqlAstWalker
-
- org.hibernate.query.sqm.mutation.internal.temptable.ColumnReferenceCheckingSqlAstWalker
-
- All Implemented Interfaces:
SqlAstWalker
public class ColumnReferenceCheckingSqlAstWalker extends AbstractSqlAstWalker
Visitor to determine if all visited column references use the same qualifier.
-
-
Constructor Summary
Constructors Constructor Description ColumnReferenceCheckingSqlAstWalker(String identificationVariable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isAllColumnReferencesFromIdentificationVariable()
void
visitColumnReference(ColumnReference columnReference)
void
visitFilterFragmentPredicate(FilterPredicate.FilterFragmentPredicate fragmentPredicate)
void
visitFilterPredicate(FilterPredicate filterPredicate)
void
visitSelectStatement(SelectStatement statement)
void
visitSqlFragmentPredicate(SqlFragmentPredicate predicate)
-
Methods inherited from class org.hibernate.sql.ast.spi.AbstractSqlAstWalker
visitAggregateColumnWriteExpression, visitAny, visitAssignment, visitBetweenPredicate, visitBinaryArithmeticExpression, visitBooleanExpressionPredicate, visitCaseSearchedExpression, visitCaseSimpleExpression, visitCastTarget, visitCollation, visitColumnWriteFragment, visitConversion, visitCustomTableDelete, visitCustomTableInsert, visitCustomTableUpdate, visitDeleteStatement, visitDistinct, visitDuration, visitDurationUnit, visitEmbeddableTypeLiteral, visitEntityTypeLiteral, visitEvery, visitExistsPredicate, visitExtractUnit, visitFormat, visitFromClause, visitFunctionTableReference, visitGroupedPredicate, visitInArrayPredicate, visitInListPredicate, visitInsertStatement, visitInSubQueryPredicate, visitJdbcLiteral, visitJunction, visitLikePredicate, visitModifiedSubQueryExpression, visitNamedTableReference, visitNegatedPredicate, visitNestedColumnReference, visitNullnessPredicate, visitOffsetFetchClause, visitOptionalTableUpdate, visitOver, visitOverflow, visitParameter, visitQueryGroup, visitQueryLiteral, visitQueryPartTableReference, visitQuerySpec, visitRelationalPredicate, visitSelectClause, visitSelfRenderingExpression, visitSelfRenderingPredicate, visitSortSpecification, visitSqlSelection, visitSqlSelectionExpression, visitStandardTableDelete, visitStandardTableInsert, visitStandardTableUpdate, visitStar, visitSummarization, visitTableGroup, visitTableGroupJoin, visitTableReferenceJoin, visitThruthnessPredicate, visitTrimSpecification, visitTuple, visitUnaryOperationExpression, visitUnparsedNumericLiteral, visitUpdateStatement, visitValuesTableReference
-
-
-
-
Constructor Detail
-
ColumnReferenceCheckingSqlAstWalker
public ColumnReferenceCheckingSqlAstWalker(String identificationVariable)
-
-
Method Detail
-
isAllColumnReferencesFromIdentificationVariable
public boolean isAllColumnReferencesFromIdentificationVariable()
-
visitSelectStatement
public void visitSelectStatement(SelectStatement statement)
- Specified by:
visitSelectStatement
in interfaceSqlAstWalker
- Overrides:
visitSelectStatement
in classAbstractSqlAstWalker
-
visitColumnReference
public void visitColumnReference(ColumnReference columnReference)
- Specified by:
visitColumnReference
in interfaceSqlAstWalker
- Overrides:
visitColumnReference
in classAbstractSqlAstWalker
-
visitFilterPredicate
public void visitFilterPredicate(FilterPredicate filterPredicate)
- Specified by:
visitFilterPredicate
in interfaceSqlAstWalker
- Overrides:
visitFilterPredicate
in classAbstractSqlAstWalker
-
visitFilterFragmentPredicate
public void visitFilterFragmentPredicate(FilterPredicate.FilterFragmentPredicate fragmentPredicate)
- Specified by:
visitFilterFragmentPredicate
in interfaceSqlAstWalker
- Overrides:
visitFilterFragmentPredicate
in classAbstractSqlAstWalker
-
visitSqlFragmentPredicate
public void visitSqlFragmentPredicate(SqlFragmentPredicate predicate)
- Specified by:
visitSqlFragmentPredicate
in interfaceSqlAstWalker
- Overrides:
visitSqlFragmentPredicate
in classAbstractSqlAstWalker
-
-