public class SelectClause extends SelectExpressionList
| Modifier and Type | Field and Description | 
|---|---|
static boolean | 
VERSION2_SQL  | 
| Constructor and Description | 
|---|
SelectClause()  | 
| Modifier and Type | Method and Description | 
|---|---|
AggregatedSelectExpression | 
getAggregatedSelectExpression()  | 
List | 
getCollectionFromElements()  | 
String[][] | 
getColumnNames()
The column alias names being used in the generated SQL. 
 | 
int | 
getColumnNamesStartPosition(int i)  | 
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 | 
isScalarSelect()
Does this SelectClause represent a scalar query 
 | 
collectSelectExpressions, getParameterPositions, getTotalParameterCountgetAliasGenerator, getASTFactory, getSessionFactoryHelper, getWalker, initializegetDataType, getOriginalText, setDataType, setTextgetColumn, getFilename, getLine, getRenderText, getTextLength, initialize, initializeaddChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toString, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpenpublic boolean isScalarSelect()
public boolean isDistinct()
public List getFromElementsForLoad()
public Type[] getQueryReturnTypes()
public String[] getQueryReturnAliases()
public String[][] getColumnNames()
public AggregatedSelectExpression getAggregatedSelectExpression()
public void initializeExplicitSelectClause(FromClause fromClause) throws antlr.SemanticException
fromClause - The from clause linked to this select clause.antlr.SemanticException - indicates a semntic issue with the explicit select clause.public int getColumnNamesStartPosition(int i)
public void initializeDerivedSelectClause(FromClause fromClause) throws antlr.SemanticException
fromClause - The from clause to which this select clause is linked.antlr.SemanticExceptionprotected antlr.collections.AST getFirstSelectExpression()
SelectExpressionListgetFirstSelectExpression in class SelectExpressionListpublic List getCollectionFromElements()
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.