|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object antlr.BaseAST antlr.CommonAST org.hibernate.hql.ast.tree.Node org.hibernate.hql.ast.tree.SqlNode org.hibernate.hql.ast.tree.HqlSqlWalkerNode org.hibernate.hql.ast.tree.SelectExpressionList org.hibernate.hql.ast.tree.SelectClause
Represents the list of expressions in a SELECT clause.
Field Summary | |
static boolean |
VERSION2_SQL
|
Fields inherited from class antlr.BaseAST |
down, right |
Constructor Summary | |
SelectClause()
|
Method Summary | |
List |
getCollectionFromElements()
|
String[][] |
getColumnNames()
The column alias names being used in the generated SQL. |
Constructor |
getConstructor()
The constructor to use for dynamic instantiation queries. |
protected antlr.collections.AST |
getFirstSelectExpression()
Returns the first select expression node that should be considered when building the array of select expressions. |
List |
getFromElementsForLoad()
FromElements which need to be accounted for in the load phase (either for return or for fetch). |
String[] |
getQueryReturnAliases()
The HQL aliases, or generated aliases |
Type[] |
getQueryReturnTypes()
The types actually being returned from this query at the "object level". |
void |
initializeDerivedSelectClause(FromClause fromClause)
Prepares a derived (i.e., not explicitly defined in the query) select clause. |
void |
initializeExplicitSelectClause(FromClause fromClause)
Prepares an explicitly defined select clause. |
boolean |
isDistinct()
|
boolean |
isList()
|
boolean |
isMap()
|
boolean |
isScalarSelect()
Does this SelectClause represent a scalar query |
Methods inherited from class org.hibernate.hql.ast.tree.SelectExpressionList |
collectSelectExpressions |
Methods inherited from class org.hibernate.hql.ast.tree.HqlSqlWalkerNode |
getAliasGenerator, getASTFactory, 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 |
Methods inherited from class antlr.CommonAST |
getText, getType, initialize, setType |
Methods inherited from class antlr.BaseAST |
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toString, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static boolean VERSION2_SQL
Constructor Detail |
public SelectClause()
Method Detail |
public boolean isScalarSelect()
public boolean isDistinct()
public List getFromElementsForLoad()
public Type[] getQueryReturnTypes()
public String[] getQueryReturnAliases()
public String[][] getColumnNames()
public Constructor getConstructor()
public boolean isMap()
public boolean isList()
public void initializeExplicitSelectClause(FromClause fromClause) throws antlr.SemanticException
fromClause
- The from clause linked to this select clause.
antlr.SemanticException
public void initializeDerivedSelectClause(FromClause fromClause) throws antlr.SemanticException
fromClause
- The from clause to which this select clause is linked.
antlr.SemanticException
protected antlr.collections.AST getFirstSelectExpression()
SelectExpressionList
getFirstSelectExpression
in class SelectExpressionList
public List getCollectionFromElements()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |