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.TREATshould be downgraded toEntityNameUse.EXPRESSION.voidregisterFromUsage(SqmFrom<?, ?> sqmFrom, boolean downgradeTreatUses) Registers that the given SqmFrom was used in an expression and whether to downgradeEntityNameUse.TREATof it.voidregisterTreatedFrom(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, resolveSqlSelectionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.sql.ast.spi.SqlAstProcessingState
getParentState, getSqlAstCreationState, getSqlExpressionResolver, isTopLevelMethods inherited from interface org.hibernate.sql.ast.spi.SqlAstQueryNodeProcessingState
applyPredicate, getFromClauseMethods 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:SqlAstQueryNodeProcessingStateRegisters that the given SqmFrom is treated.- Specified by:
registerTreatedFromin interfaceSqlAstQueryNodeProcessingState
-
registerFromUsage
Description copied from interface:SqlAstQueryNodeProcessingStateRegisters that the given SqmFrom was used in an expression and whether to downgradeEntityNameUse.TREATof it.- Specified by:
registerFromUsagein interfaceSqlAstQueryNodeProcessingState
-
getFromRegistrations
Description copied from interface:SqlAstQueryNodeProcessingStateReturns the treated SqmFroms and whether theirEntityNameUse.TREATshould be downgraded toEntityNameUse.EXPRESSION.- Specified by:
getFromRegistrationsin interfaceSqlAstQueryNodeProcessingState
-