Package org.hibernate.query.hql.internal
Class BasicDotIdentifierConsumer
java.lang.Object
org.hibernate.query.hql.internal.BasicDotIdentifierConsumer
- All Implemented Interfaces:
DotIdentifierConsumer
- Direct Known Subclasses:
QualifiedJoinPredicatePathConsumer
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionBasicDotIdentifierConsumer
(SemanticPathPart initialState, SqmCreationState creationState) BasicDotIdentifierConsumer
(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 importableName, boolean isTerminal) Responsible for consuming each part of the path.protected SemanticPathPart
Get the currently consumed part.protected SqmCreationState
protected void
reset()
-
Constructor Details
-
BasicDotIdentifierConsumer
-
BasicDotIdentifierConsumer
-
-
Method Details
-
getCreationState
-
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:
importableName
- The treat target entity nameisTerminal
- Is this the terminus of the path (last token)?
-
reset
protected void reset() -
createBasePart
-