| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
antlr.CommonASTorg.hibernate.hql.ast.tree.Nodeorg.hibernate.hql.ast.tree.SqlNodeorg.hibernate.hql.ast.tree.HqlSqlWalkerNodeorg.hibernate.hql.ast.tree.AbstractSelectExpressionorg.hibernate.hql.ast.tree.FromReferenceNodepublic abstract class FromReferenceNodeextends AbstractSelectExpressionimplements ResolvableNode, DisplayableNode, InitializeableNode, PathNodeField Summary | |
static int | |
Method Summary | |
String |
|
FromElement |
|
FromElement |
|
String |
|
boolean | |
boolean |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void | |
Methods inherited from class org.hibernate.hql.ast.tree.AbstractSelectExpression | |
getAlias, getFromElement, isConstructor, isReturnableEntity, isScalar, setAlias | |
Methods inherited from class org.hibernate.hql.ast.tree.HqlSqlWalkerNode | |
getASTFactory, getAliasGenerator, getSessionFactoryHelper, getWalker, initialize | |
Methods inherited from class org.hibernate.hql.ast.tree.SqlNode | |
getDataType, getOriginalText, setDataType, setText | |
Methods inherited from class org.hibernate.hql.ast.tree.Node | |
getColumn, getFilename, getLine, getRenderText, getTextLength, initialize, initialize | |
public String getDisplayText()
Returns additional display text for the AST node.
- Specified by:
- getDisplayText in interface DisplayableNode
- Returns:
- String - The additional display text.
public FromElement getFromElement()
Returns the FROM element that this expression refers to.
- Specified by:
- getFromElement in interface SelectExpression
- Overrides:
- getFromElement in interface AbstractSelectExpression
- Returns:
- The FROM element.
public FromElement getImpliedJoin()
Sub-classes can override this method if they produce implied joins (e.g. DotNode).
- Returns:
- an implied join created by this from reference.
public String getPath()
Returns the full path name represented by the node.
- Returns:
- the full path name represented by the node.
public boolean isResolved()
public boolean isReturnableEntity()
throws SemanticExceptionReturns true if this select expression represents an entity that can be returned.
- Specified by:
- isReturnableEntity in interface SelectExpression
- Overrides:
- isReturnableEntity in interface AbstractSelectExpression
- Returns:
- true if this select expression represents an entity that can be returned.
public void prepareForDot(String propertyName)
throws SemanticExceptionpublic void recursiveResolve(int level,
boolean impliedAtRoot,
String classAlias)
throws SemanticExceptionpublic void recursiveResolve(int level,
boolean impliedAtRoot,
String classAlias,
AST parent)
throws SemanticExceptionpublic void resolve(boolean generateJoin,
boolean implicitJoin)
throws SemanticExceptionDoes the work of resolving an identifier or a dot, but without a parent node or alias
- Specified by:
- resolve in interface ResolvableNode
public void resolve(boolean generateJoin,
boolean implicitJoin,
String classAlias)
throws SemanticExceptionDoes the work of resolving an identifier or a dot, but without a parent node
- Specified by:
- resolve in interface ResolvableNode
public void resolveFirstChild()
throws SemanticExceptionResolves the left hand side of the DOT.
public void resolveInFunctionCall(boolean generateJoin,
boolean implicitJoin)
throws SemanticExceptionDoes the work of resolving inside of the scope of a function call
- Specified by:
- resolveInFunctionCall in interface ResolvableNode
public void setResolved()