Top Description Methods
org.hibernate.query.hql.spi

public Interface SqmCreationState

Known Direct Implementers
org.hibernate.query.hql.internal.SemanticQueryBuilder
Annotations
@Incubating
Imports
org.hibernate.Incubating, org.hibernate.internal.util.collections.Stack, org.hibernate.query.sqm.spi.SqmCreationContext, org.hibernate.query.sqm.tree.cte.SqmCteStatement

Models the state pertaining to the creation of a single SQM.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public SqmCteStatement<?>
public SqmCreationContext
getCreationContext()

Access to the context of the creation

public SqmCreationOptions
getCreationOptions()

What options should be applied to the creation

public default SqmCreationProcessingState
public Stack<SqmCreationProcessingState>
getProcessingStateStack()

Access to the stack of current creation processing state.

Method Detail

findCteStatementback to summary
public SqmCteStatement<?> findCteStatement(String name)
getCreationContextback to summary
public SqmCreationContext getCreationContext()

Access to the context of the creation

getCreationOptionsback to summary
public SqmCreationOptions getCreationOptions()

What options should be applied to the creation

getCurrentProcessingStateback to summary
public default SqmCreationProcessingState getCurrentProcessingState()
getProcessingStateStackback to summary
public Stack<SqmCreationProcessingState> getProcessingStateStack()

Access to the stack of current creation processing state. New items are pushed to this stack as we cross certain boundaries while creating the SQM. Generally these boundaries are specific to top-level statements and sub-queries.