Class AbstractSqlAstQueryNodeProcessingStateImpl
java.lang.Object
org.hibernate.query.sqm.sql.internal.SqlAstProcessingStateImpl
org.hibernate.query.sqm.sql.internal.AbstractSqlAstQueryNodeProcessingStateImpl
- All Implemented Interfaces:
BaseSqmToSqlAstConverter.SqmAliasedNodeCollector
,SqlAstProcessingState
,SqlAstQueryNodeProcessingState
,SqlExpressionResolver
- Direct Known Subclasses:
SqlAstQueryNodeProcessingStateImpl
,SqlAstQueryPartProcessingStateImpl
public abstract class AbstractSqlAstQueryNodeProcessingStateImpl
extends SqlAstProcessingStateImpl
implements SqlAstQueryNodeProcessingState
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.sql.ast.spi.SqlExpressionResolver
SqlExpressionResolver.ColumnReferenceKey
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractSqlAstQueryNodeProcessingStateImpl
(SqlAstProcessingState parent, SqlAstCreationState creationState, Function<SqlExpressionResolver, SqlExpressionResolver> expressionResolverDecorator, Supplier<Clause> currentClauseAccess) AbstractSqlAstQueryNodeProcessingStateImpl
(SqlAstProcessingState parent, SqlAstCreationState creationState, Supplier<Clause> currentClauseAccess) -
Method Summary
Modifier and TypeMethodDescriptionReturns the treated SqmFroms and whether theirEntityNameUse.TREAT
should be downgraded toEntityNameUse.EXPRESSION
.void
registerFromUsage
(SqmFrom<?, ?> sqmFrom, boolean downgradeTreatUses) Registers that the given SqmFrom was used in an expression and whether to downgradeEntityNameUse.TREAT
of it.void
registerTreatedFrom
(SqmFrom<?, ?> sqmFrom) Registers that the given SqmFrom is treated.Methods inherited from class org.hibernate.query.sqm.sql.internal.SqlAstProcessingStateImpl
getParentState, getSelections, getSqlAstCreationState, getSqlExpressionResolver, next, resolveSqlExpression, resolveSqlSelection
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.SqlAstProcessingState
getParentState, getSqlAstCreationState, getSqlExpressionResolver, isTopLevel
Methods inherited from interface org.hibernate.sql.ast.spi.SqlAstQueryNodeProcessingState
applyPredicate, getFromClause
Methods inherited from interface org.hibernate.sql.ast.spi.SqlExpressionResolver
resolveSqlExpression
-
Constructor Details
-
AbstractSqlAstQueryNodeProcessingStateImpl
public AbstractSqlAstQueryNodeProcessingStateImpl(SqlAstProcessingState parent, SqlAstCreationState creationState, Supplier<Clause> currentClauseAccess) -
AbstractSqlAstQueryNodeProcessingStateImpl
public AbstractSqlAstQueryNodeProcessingStateImpl(SqlAstProcessingState parent, SqlAstCreationState creationState, Function<SqlExpressionResolver, SqlExpressionResolver> expressionResolverDecorator, Supplier<Clause> currentClauseAccess)
-
-
Method Details
-
registerTreatedFrom
Description copied from interface:SqlAstQueryNodeProcessingState
Registers that the given SqmFrom is treated.- Specified by:
registerTreatedFrom
in interfaceSqlAstQueryNodeProcessingState
-
registerFromUsage
Description copied from interface:SqlAstQueryNodeProcessingState
Registers that the given SqmFrom was used in an expression and whether to downgradeEntityNameUse.TREAT
of it.- Specified by:
registerFromUsage
in interfaceSqlAstQueryNodeProcessingState
-
getFromRegistrations
Description copied from interface:SqlAstQueryNodeProcessingState
Returns the treated SqmFroms and whether theirEntityNameUse.TREAT
should be downgraded toEntityNameUse.EXPRESSION
.- Specified by:
getFromRegistrations
in interfaceSqlAstQueryNodeProcessingState
-