Package org.hibernate.query.sqm.sql
Class BaseSqmToSqlAstConverter.SqmAliasedNodePositionTracker
- java.lang.Object
-
- org.hibernate.query.sqm.sql.BaseSqmToSqlAstConverter.SqmAliasedNodePositionTracker
-
- All Implemented Interfaces:
BaseSqmToSqlAstConverter.SqmAliasedNodeCollector
,SqlExpressionResolver
- Enclosing class:
- BaseSqmToSqlAstConverter<T extends Statement>
protected static class BaseSqmToSqlAstConverter.SqmAliasedNodePositionTracker extends Object implements SqlExpressionResolver, BaseSqmToSqlAstConverter.SqmAliasedNodeCollector
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.sql.ast.spi.SqlExpressionResolver
SqlExpressionResolver.ColumnReferenceKey
-
-
Constructor Summary
Constructors Constructor Description SqmAliasedNodePositionTracker(SqlExpressionResolver delegate, List<? extends SqmAliasedNode<?>> selections)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<SqlSelection>
getSelections(int position)
void
next()
Expression
resolveSqlExpression(SqlExpressionResolver.ColumnReferenceKey key, Function<SqlAstProcessingState,Expression> creator)
Given a qualifier + a qualifiableSqlExpressible
, resolve the (Sql)Expression reference.SqlSelection
resolveSqlSelection(Expression expression, JavaType<?> javaType, FetchParent fetchParent, TypeConfiguration typeConfiguration)
Resolve the SqlSelection for the given expression-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.ast.spi.SqlExpressionResolver
resolveSqlExpression
-
-
-
-
Constructor Detail
-
SqmAliasedNodePositionTracker
public SqmAliasedNodePositionTracker(SqlExpressionResolver delegate, List<? extends SqmAliasedNode<?>> selections)
-
-
Method Detail
-
next
public void next()
- Specified by:
next
in interfaceBaseSqmToSqlAstConverter.SqmAliasedNodeCollector
-
getSelections
public List<SqlSelection> getSelections(int position)
- Specified by:
getSelections
in interfaceBaseSqmToSqlAstConverter.SqmAliasedNodeCollector
-
resolveSqlExpression
public Expression resolveSqlExpression(SqlExpressionResolver.ColumnReferenceKey key, Function<SqlAstProcessingState,Expression> creator)
Description copied from interface:SqlExpressionResolver
Given a qualifier + a qualifiableSqlExpressible
, resolve the (Sql)Expression reference.- Specified by:
resolveSqlExpression
in interfaceSqlExpressionResolver
-
resolveSqlSelection
public SqlSelection resolveSqlSelection(Expression expression, JavaType<?> javaType, FetchParent fetchParent, TypeConfiguration typeConfiguration)
Description copied from interface:SqlExpressionResolver
Resolve the SqlSelection for the given expression- Specified by:
resolveSqlSelection
in interfaceSqlExpressionResolver
-
-