Package org.hibernate.query.hql.spi
Interface DotIdentifierConsumer
- All Known Implementing Classes:
BasicDotIdentifierConsumer
,QualifiedJoinPathConsumer
,QualifiedJoinPredicatePathConsumer
public interface DotIdentifierConsumer
Consumes the parts of a path.
-
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.
-
Method Details
-
consumeIdentifier
Responsible for consuming each part of the path. Called sequentially for each part.- 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
Responsible for consuming each part of the path. Called sequentially for each part.- Parameters:
entityName
- The treat target entity nameisTerminal
- Is this the terminus of the path (last token)?
-
getConsumedPart
SemanticPathPart getConsumedPart()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
-