Package org.hibernate.sql.ast.spi
Interface SqlAstQueryPartProcessingState
-
- All Superinterfaces:
SqlAstProcessingState
- All Known Implementing Classes:
LoaderSqlAstCreationState
,SqlAstQueryPartProcessingStateImpl
public interface SqlAstQueryPartProcessingState extends SqlAstProcessingState
SqlAstProcessingState specialization for query parts
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<SqmFrom<?,?>,Boolean>
getFromRegistrations()
Returns the treated SqmFroms and whether theirEntityNameUse.TREAT
should be downgraded toEntityNameUse.EXPRESSION
.QueryPart
getInflightQueryPart()
Get the QueryPart being processed as part of this state.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 Detail
-
getInflightQueryPart
QueryPart getInflightQueryPart()
Get the QueryPart being processed as part of this state. It is considered in-flight as it is probably still being built.
-
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.TREAT
of it.
-
getFromRegistrations
Map<SqmFrom<?,?>,Boolean> getFromRegistrations()
Returns the treated SqmFroms and whether theirEntityNameUse.TREAT
should be downgraded toEntityNameUse.EXPRESSION
.
-
-