Package org.hibernate.sql.ast.spi
Interface SqlAstQueryNodeProcessingState
-
- All Superinterfaces:
SqlAstProcessingState
- All Known Subinterfaces:
SqlAstQueryPartProcessingState
- All Known Implementing Classes:
AbstractSqlAstQueryNodeProcessingStateImpl,LoaderSqlAstCreationState,SqlAstQueryNodeProcessingStateImpl,SqlAstQueryPartProcessingStateImpl
public interface SqlAstQueryNodeProcessingState extends SqlAstProcessingState
SqlAstProcessingState specialization for query parts
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapplyPredicate(Predicate predicate)Apply the predicate to be used for the final statement.FromClausegetFromClause()Returns the in-flight from clause for the query node.Map<SqmFrom<?,?>,Boolean>getFromRegistrations()Returns 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 interface org.hibernate.sql.ast.spi.SqlAstProcessingState
getParentState, getSqlAstCreationState, getSqlExpressionResolver, isTopLevel
-
-
-
-
Method Detail
-
getFromClause
FromClause getFromClause()
Returns the in-flight from clause for the query node.
-
applyPredicate
void applyPredicate(Predicate predicate)
Apply the predicate to be used for the final statement.
-
registerTreatedFrom
void registerTreatedFrom(SqmFrom<?,?> sqmFrom)
Registers that the given SqmFrom is treated.
-
registerFromUsage
void registerFromUsage(SqmFrom<?,?> sqmFrom, boolean downgradeTreatUses)
Registers that the given SqmFrom was used in an expression and whether to downgradeEntityNameUse.TREATof it.
-
getFromRegistrations
Map<SqmFrom<?,?>,Boolean> getFromRegistrations()
Returns the treated SqmFroms and whether theirEntityNameUse.TREATshould be downgraded toEntityNameUse.EXPRESSION.
-
-