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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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.SemanticPathPart
getConsumedPart()
Get the currently consumed part.
-
-
-
Method Detail
-
consumeIdentifier
void consumeIdentifier(String identifier, boolean isBase, boolean isTerminal)
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
void consumeTreat(String entityName, boolean isTerminal)
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
-
-