Package org.hibernate.sql.ast.spi
Interface SqlAstQueryNodeProcessingState
- All Superinterfaces:
SqlAstProcessingState
- All Known Subinterfaces:
SqlAstQueryPartProcessingState
- All Known Implementing Classes:
AbstractSqlAstQueryNodeProcessingStateImpl
,LoaderSqlAstCreationState
,SqlAstQueryNodeProcessingStateImpl
,SqlAstQueryPartProcessingStateImpl
SqlAstProcessingState specialization for query parts
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyPredicate
(Predicate predicate) Apply the predicate to be used for the final statement.Returns the in-flight from clause for the query node.Returns 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 interface org.hibernate.sql.ast.spi.SqlAstProcessingState
getParentState, getSqlAstCreationState, getSqlExpressionResolver, isTopLevel
-
Method Details
-
getFromClause
FromClause getFromClause()Returns the in-flight from clause for the query node. -
applyPredicate
Apply the predicate to be used for the final statement. -
registerTreatedFrom
Registers that the given SqmFrom is treated. -
registerFromUsage
Registers that the given SqmFrom was used in an expression and whether to downgradeEntityNameUse.TREAT
of it. -
getFromRegistrations
Returns the treated SqmFroms and whether theirEntityNameUse.TREAT
should be downgraded toEntityNameUse.EXPRESSION
.
-