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 TypeMethodDescriptionvoidapplyPredicate(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 expressionvoidsetNestingFetchParent(FetchParent nestedParent) Methods inherited from class org.hibernate.query.sqm.sql.internal.AbstractSqlAstQueryNodeProcessingStateImpl
getFromRegistrations, registerFromUsage, registerTreatedFromMethods inherited from class org.hibernate.query.sqm.sql.internal.SqlAstProcessingStateImpl
getParentState, getSelections, getSqlAstCreationState, getSqlExpressionResolver, next, resolveSqlExpressionMethods 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
getFromRegistrations, registerFromUsage, registerTreatedFromMethods 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:SqlAstQueryPartProcessingStateGet the QueryPart being processed as part of this state. It is considered in-flight as it is probably still being built.- Specified by:
getInflightQueryPartin interfaceSqlAstQueryPartProcessingState
-
getFromClause
Description copied from interface:SqlAstQueryNodeProcessingStateReturns the in-flight from clause for the query node.- Specified by:
getFromClausein interfaceSqlAstQueryNodeProcessingState
-
applyPredicate
Description copied from interface:SqlAstQueryNodeProcessingStateApply the predicate to be used for the final statement.- Specified by:
applyPredicatein interfaceSqlAstQueryNodeProcessingState
-
resolveSqlSelection
public SqlSelection resolveSqlSelection(Expression expression, JavaType<?> javaType, FetchParent fetchParent, TypeConfiguration typeConfiguration) Description copied from interface:SqlExpressionResolverResolve the SqlSelection for the given expression- Specified by:
resolveSqlSelectionin interfaceSqlExpressionResolver- Overrides:
resolveSqlSelectionin classSqlAstProcessingStateImpl
-