public class

PathExpressionParser

extends Object
implements Parser
java.lang.Object
   ↳ org.hibernate.hql.classic.PathExpressionParser
Known Direct Subclasses

Class Overview

Parses an expression of the form foo.bar.baz and builds up an expression involving two less table joins than there are path components.

Summary

Public Constructors
PathExpressionParser()
Public Methods
void addAssociation(QueryTranslatorImpl q)
String addFromAssociation(QueryTranslatorImpl q)
String addFromCollection(QueryTranslatorImpl q)
void end(QueryTranslatorImpl q)
void fetch(QueryTranslatorImpl q, String entityName)
String getCollectionSubquery(Map enabledFilters)
String getName()
String getWhereColumn()
Type getWhereColumnType()
String[] getWhereColumns()
JoinSequence getWhereJoin()
void ignoreInitialJoin()
boolean isCollectionValued()
boolean isExpectingCollectionIndex()
PathExpressionParser.CollectionElement lastCollectionElement()
void setLastCollectionElementIndexValue(String value)
void start(QueryTranslatorImpl q)
void token(String token, QueryTranslatorImpl q)
Protected Methods
String[] currentColumns()
Type getPropertyType()
void setExpectingCollectionIndex()
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.hibernate.hql.classic.Parser

Public Constructors

public PathExpressionParser ()

Public Methods

public void addAssociation (QueryTranslatorImpl q)

public String addFromAssociation (QueryTranslatorImpl q)

public String addFromCollection (QueryTranslatorImpl q)

public void end (QueryTranslatorImpl q)

public void fetch (QueryTranslatorImpl q, String entityName)

public String getCollectionSubquery (Map enabledFilters)

public String getName ()

public String getWhereColumn ()

public Type getWhereColumnType ()

public String[] getWhereColumns ()

public JoinSequence getWhereJoin ()

public void ignoreInitialJoin ()

public boolean isCollectionValued ()

public boolean isExpectingCollectionIndex ()

public PathExpressionParser.CollectionElement lastCollectionElement ()

public void setLastCollectionElementIndexValue (String value)

public void start (QueryTranslatorImpl q)

public void token (String token, QueryTranslatorImpl q)

Protected Methods

protected String[] currentColumns ()

protected Type getPropertyType ()

protected void setExpectingCollectionIndex ()