Package org.hibernate.query.hql.internal
Class QualifiedJoinPathConsumer
java.lang.Object
org.hibernate.query.hql.internal.QualifiedJoinPathConsumer
- All Implemented Interfaces:
DotIdentifierConsumer
Specialized "intermediate" SemanticPathPart for processing domain model paths.
-
Constructor Summary
ConstructorsConstructorDescriptionQualifiedJoinPathConsumer
(SqmFrom<?, ?> sqmFrom, SqmJoinType joinType, boolean fetch, String alias, SqmCreationState creationState) QualifiedJoinPathConsumer
(SqmRoot<?> sqmRoot, SqmJoinType joinType, boolean fetch, String alias, SqmCreationState creationState) -
Method Summary
Modifier and TypeMethodDescriptionvoid
consumeIdentifier
(String identifier, boolean isBase, boolean isTerminal) Responsible for consuming each part of the path.void
consumeTreat
(String entityName, boolean isTerminal) Responsible for consuming each part of the path.Get the currently consumed part.boolean
isNested()
void
setNested
(boolean nested)
-
Constructor Details
-
QualifiedJoinPathConsumer
public QualifiedJoinPathConsumer(SqmRoot<?> sqmRoot, SqmJoinType joinType, boolean fetch, String alias, SqmCreationState creationState) -
QualifiedJoinPathConsumer
public QualifiedJoinPathConsumer(SqmFrom<?, ?> sqmFrom, SqmJoinType joinType, boolean fetch, String alias, SqmCreationState creationState)
-
-
Method Details
-
isNested
public boolean isNested() -
setNested
public void setNested(boolean nested) -
getConsumedPart
Description copied from interface:DotIdentifierConsumer
Get the currently consumed part. Generally called after the whole path has been processed at which point this will return the final outcome of the consumption- Specified by:
getConsumedPart
in interfaceDotIdentifierConsumer
-
consumeIdentifier
Description copied from interface:DotIdentifierConsumer
Responsible for consuming each part of the path. Called sequentially for each part.- Specified by:
consumeIdentifier
in interfaceDotIdentifierConsumer
- Parameters:
identifier
- The current part of the path being processedisBase
- Is this the base of the path (the first token)?isTerminal
- Is this the terminus of the path (last token)?
-
consumeTreat
Description copied from interface:DotIdentifierConsumer
Responsible for consuming each part of the path. Called sequentially for each part.- Specified by:
consumeTreat
in interfaceDotIdentifierConsumer
- Parameters:
entityName
- The treat target entity nameisTerminal
- Is this the terminus of the path (last token)?
-