Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
antlr.CommonAST
Method Summary | |
String | |
FromElement |
|
SQLFunction | |
void |
|
boolean | |
boolean |
|
protected 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()
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 void initializeMethodNode(AST name, boolean inSelect)
public boolean isCollectionPropertyMethod()
public boolean isScalar() throws SemanticException
- Specified by:
- isScalar in interface SelectExpression
- Overrides:
- isScalar in interface AbstractSelectExpression
protected void prepareSelectColumns(String[] columns)
public void resolve(boolean inSelect) throws SemanticException
public void resolveCollectionProperty(AST expr) throws SemanticException
public void setScalarColumnText(int i) throws SemanticException
Appends AST nodes that represent the columns after the current AST node. (e.g. 'as col0_O_')
- Specified by:
- setScalarColumnText in interface SelectExpression
- Parameters:
i
- The index of the select expression in the projection list.