Package org.hibernate.query.sqm.internal
Class SqmCreationProcessingStateImpl
- java.lang.Object
-
- org.hibernate.query.sqm.internal.SqmCreationProcessingStateImpl
-
- All Implemented Interfaces:
SqmCreationProcessingState
- Direct Known Subclasses:
SqmDmlCreationProcessingState
,SqmQueryPartCreationProcessingStateStandardImpl
public class SqmCreationProcessingStateImpl extends Object implements SqmCreationProcessingState
-
-
Constructor Summary
Constructors Constructor Description SqmCreationProcessingStateImpl(SqmQuery<?> processingQuery, SqmCreationState creationState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqmCreationState
getCreationState()
The overall SQM creation stateSqmCreationProcessingState
getParentProcessingState()
The parent processing state.SqmPathRegistry
getPathRegistry()
SqmPathRegistry associated with this state.SqmQuery<?>
getProcessingQuery()
Access to the query currently being processed.
-
-
-
Constructor Detail
-
SqmCreationProcessingStateImpl
public SqmCreationProcessingStateImpl(SqmQuery<?> processingQuery, SqmCreationState creationState)
-
-
Method Detail
-
getParentProcessingState
public SqmCreationProcessingState getParentProcessingState()
Description copied from interface:SqmCreationProcessingState
The parent processing state. May be null for the top-level processing. Intended to be used while processing a sub-query to access the processing state of the context in which the sub-query occurs.- Specified by:
getParentProcessingState
in interfaceSqmCreationProcessingState
-
getProcessingQuery
public SqmQuery<?> getProcessingQuery()
Description copied from interface:SqmCreationProcessingState
Access to the query currently being processed. This should be generally considered an inflight model - we are still in the process of creating the SQM- Specified by:
getProcessingQuery
in interfaceSqmCreationProcessingState
-
getCreationState
public SqmCreationState getCreationState()
Description copied from interface:SqmCreationProcessingState
The overall SQM creation state- Specified by:
getCreationState
in interfaceSqmCreationProcessingState
-
getPathRegistry
public SqmPathRegistry getPathRegistry()
Description copied from interface:SqmCreationProcessingState
SqmPathRegistry associated with this state.- Specified by:
getPathRegistry
in interfaceSqmCreationProcessingState
-
-