Package org.hibernate.hql.classic
Class PathExpressionParser
java.lang.Object
org.hibernate.hql.classic.PathExpressionParser
- All Implemented Interfaces:
Parser
- Direct Known Subclasses:
FromPathExpressionParser,SelectPathExpressionParser
Parses an expression of the form foo.bar.baz and builds up an expression
involving two less table joins than there are path components.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected String[]voidvoidfetch(QueryTranslatorImpl q, String entityName) getCollectionSubquery(Map enabledFilters) getName()protected TypeString[]voidbooleanbooleanorg.hibernate.hql.classic.PathExpressionParser.CollectionElementprotected voidvoidvoidvoidtoken(String token, QueryTranslatorImpl q)
-
Constructor Details
-
PathExpressionParser
public PathExpressionParser()
-
-
Method Details
-
ignoreInitialJoin
public void ignoreInitialJoin() -
token
- Specified by:
tokenin interfaceParser- Throws:
QueryException
-
getPropertyType
- Throws:
QueryException
-
currentColumns
- Throws:
QueryException
-
start
-
end
- Specified by:
endin interfaceParser- Throws:
QueryException
-
lastCollectionElement
public org.hibernate.hql.classic.PathExpressionParser.CollectionElement lastCollectionElement() -
setLastCollectionElementIndexValue
-
isExpectingCollectionIndex
public boolean isExpectingCollectionIndex() -
setExpectingCollectionIndex
- Throws:
QueryException
-
getWhereJoin
-
getWhereColumn
- Throws:
QueryException
-
getWhereColumns
-
getWhereColumnType
-
getName
-
getCollectionSubquery
- Throws:
QueryException
-
isCollectionValued
- Throws:
QueryException
-
addAssociation
- Throws:
QueryException
-
addFromAssociation
- Throws:
QueryException
-
addFromCollection
- Throws:
QueryException
-
fetch
- Throws:
QueryException
-