Class SqlAstQueryPartProcessingStateImpl
java.lang.Object
org.hibernate.query.sqm.sql.internal.SqlAstProcessingStateImpl
org.hibernate.query.sqm.sql.internal.AbstractSqlAstQueryNodeProcessingStateImpl
org.hibernate.query.sqm.sql.internal.SqlAstQueryPartProcessingStateImpl
- All Implemented Interfaces:
BaseSqmToSqlAstConverter.SqmAliasedNodeCollector
,SqlAstProcessingState
,SqlAstQueryNodeProcessingState
,SqlAstQueryPartProcessingState
,SqlExpressionResolver
public class SqlAstQueryPartProcessingStateImpl
extends AbstractSqlAstQueryNodeProcessingStateImpl
implements SqlAstQueryPartProcessingState
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.sql.ast.spi.SqlExpressionResolver
SqlExpressionResolver.ColumnReferenceKey
-
Constructor Summary
ConstructorsConstructorDescriptionSqlAstQueryPartProcessingStateImpl
(QueryPart queryPart, SqlAstProcessingState parent, SqlAstCreationState creationState, Function<SqlExpressionResolver, SqlExpressionResolver> expressionResolverDecorator, Supplier<Clause> currentClauseAccess, boolean deduplicateSelectionItems) SqlAstQueryPartProcessingStateImpl
(QueryPart queryPart, SqlAstProcessingState parent, SqlAstCreationState creationState, Supplier<Clause> currentClauseAccess, boolean deduplicateSelectionItems) -
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.Get the QueryPart being processed as part of this state.resolveSqlSelection
(Expression expression, JavaType<?> javaType, FetchParent fetchParent, TypeConfiguration typeConfiguration) Resolve the SqlSelection for the given expressionvoid
setNestingFetchParent
(FetchParent nestedParent) Methods inherited from class org.hibernate.query.sqm.sql.internal.AbstractSqlAstQueryNodeProcessingStateImpl
getFromRegistrations, registerFromUsage, registerTreatedFrom
Methods inherited from class org.hibernate.query.sqm.sql.internal.SqlAstProcessingStateImpl
getParentState, getSelections, getSqlAstCreationState, getSqlExpressionResolver, next, resolveSqlExpression
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
getFromRegistrations, registerFromUsage, registerTreatedFrom
Methods inherited from interface org.hibernate.sql.ast.spi.SqlExpressionResolver
resolveSqlExpression
-
Constructor Details
-
SqlAstQueryPartProcessingStateImpl
public SqlAstQueryPartProcessingStateImpl(QueryPart queryPart, SqlAstProcessingState parent, SqlAstCreationState creationState, Supplier<Clause> currentClauseAccess, boolean deduplicateSelectionItems) -
SqlAstQueryPartProcessingStateImpl
public SqlAstQueryPartProcessingStateImpl(QueryPart queryPart, SqlAstProcessingState parent, SqlAstCreationState creationState, Function<SqlExpressionResolver, SqlExpressionResolver> expressionResolverDecorator, Supplier<Clause> currentClauseAccess, boolean deduplicateSelectionItems)
-
-
Method Details
-
getNestingFetchParent
-
setNestingFetchParent
-
getInflightQueryPart
Description copied from interface:SqlAstQueryPartProcessingState
Get the QueryPart being processed as part of this state. It is considered in-flight as it is probably still being built.- Specified by:
getInflightQueryPart
in interfaceSqlAstQueryPartProcessingState
-
getFromClause
Description copied from interface:SqlAstQueryNodeProcessingState
Returns the in-flight from clause for the query node.- Specified by:
getFromClause
in interfaceSqlAstQueryNodeProcessingState
-
applyPredicate
Description copied from interface:SqlAstQueryNodeProcessingState
Apply the predicate to be used for the final statement.- Specified by:
applyPredicate
in interfaceSqlAstQueryNodeProcessingState
-
resolveSqlSelection
public SqlSelection resolveSqlSelection(Expression expression, JavaType<?> javaType, FetchParent fetchParent, TypeConfiguration typeConfiguration) Description copied from interface:SqlExpressionResolver
Resolve the SqlSelection for the given expression- Specified by:
resolveSqlSelection
in interfaceSqlExpressionResolver
- Overrides:
resolveSqlSelection
in classSqlAstProcessingStateImpl
-