Top Description Methods
org.hibernate.query.hql.spi

public Interface DotIdentifierConsumer

Known Direct Implementers
org.hibernate.query.hql.internal.BasicDotIdentifierConsumer, org.hibernate.query.hql.internal.QualifiedJoinPathConsumer

Consumes the parts of a path.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public void
consumeIdentifier(String
The current part of the path being processed
identifier
,
boolean
Is this the base of the path (the first token)?
isBase
,
boolean
Is this the terminus of the path (last token)?
isTerminal
)

Responsible for consuming each part of the path.

public void
consumeTreat(String
The treat target entity name
entityName
,
boolean
Is this the terminus of the path (last token)?
isTerminal
)

Responsible for consuming each part of the path.

public SemanticPathPart
getConsumedPart()

Get the currently consumed part.

Method Detail

consumeIdentifierback to summary
public void consumeIdentifier(String identifier, boolean isBase, boolean isTerminal)

Responsible for consuming each part of the path. Called sequentially for each part.

Parameters
identifier:String

The current part of the path being processed

isBase:boolean

Is this the base of the path (the first token)?

isTerminal:boolean

Is this the terminus of the path (last token)?

consumeTreatback to summary
public void consumeTreat(String entityName, boolean isTerminal)

Responsible for consuming each part of the path. Called sequentially for each part.

Parameters
entityName:String

The treat target entity name

isTerminal:boolean

Is this the terminus of the path (last token)?

getConsumedPartback to summary
public 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