Package org.hibernate.query.sqm.sql
Class BaseSqmToSqlAstConverter.DelegatingSqmAliasedNodeCollector
- java.lang.Object
-
- org.hibernate.query.sqm.sql.BaseSqmToSqlAstConverter.DelegatingSqmAliasedNodeCollector
-
- All Implemented Interfaces:
BaseSqmToSqlAstConverter.SqmAliasedNodeCollector
,SqlExpressionResolver
- Enclosing class:
- BaseSqmToSqlAstConverter<T extends Statement>
protected static class BaseSqmToSqlAstConverter.DelegatingSqmAliasedNodeCollector 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 DelegatingSqmAliasedNodeCollector(SqlExpressionResolver delegate)
-
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 expressionvoid
setSqmAliasedNodeCollector(BaseSqmToSqlAstConverter.SqmAliasedNodeCollector sqmAliasedNodeCollector)
-
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
-
DelegatingSqmAliasedNodeCollector
public DelegatingSqmAliasedNodeCollector(SqlExpressionResolver delegate)
-
-
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
-
setSqmAliasedNodeCollector
public void setSqmAliasedNodeCollector(BaseSqmToSqlAstConverter.SqmAliasedNodeCollector sqmAliasedNodeCollector)
-
-