|
||||||||||
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.AbstractSelectExpression org.hibernate.hql.ast.tree.FromReferenceNode org.hibernate.hql.ast.tree.AbstractMapComponentNode org.hibernate.hql.ast.tree.MapEntryNode
public class MapEntryNode
TODO : javadoc
Field Summary |
---|
Fields inherited from class org.hibernate.hql.ast.tree.FromReferenceNode |
---|
ROOT_LEVEL |
Fields inherited from class antlr.BaseAST |
---|
down, right |
Constructor Summary | |
---|---|
MapEntryNode()
|
Method Summary | |
---|---|
protected String |
expressionDescription()
|
String[] |
getAggregatedAliases()
Retrieve the aliases for the columns aggregated here. |
List |
getAggregatedSelectionTypeList()
Retrieves a list of the selection types being aggregated |
Class |
getAggregationResultType()
Obtain the java type of the aggregation |
ResultTransformer |
getResultTransformer()
Retrieve the ResultTransformer responsible for building aggregated select expression results into their
aggregated form. |
int |
getScalarColumnIndex()
Gets index of the select expression in the projection list. |
boolean |
isScalar()
|
protected String[] |
resolveColumns(QueryableCollection collectionPersister)
|
protected Type |
resolveType(QueryableCollection collectionPersister)
|
void |
setScalarColumn(int i)
Sets the index and text for select expression in the projection list. |
void |
setScalarColumnText(int i)
Appends AST nodes that represent the columns after the current AST node. |
void |
setText(String s)
Sets the text of the node. |
SessionFactoryImplementor |
sfi()
|
Methods inherited from class org.hibernate.hql.ast.tree.AbstractMapComponentNode |
---|
attemptedDereference, getColumns, getMapReference, nonMap, resolve, resolveIndex |
Methods inherited from class org.hibernate.hql.ast.tree.FromReferenceNode |
---|
getDisplayText, getFromElement, getImpliedJoin, getPath, isResolved, isReturnableEntity, prepareForDot, recursiveResolve, recursiveResolve, resolve, resolve, resolveFirstChild, resolveInFunctionCall, setFromElement, setResolved |
Methods inherited from class org.hibernate.hql.ast.tree.AbstractSelectExpression |
---|
getAlias, isConstructor, setAlias |
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 |
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 |
Methods inherited from interface org.hibernate.hql.ast.tree.SelectExpression |
---|
getAlias, getDataType, getFromElement, isConstructor, isReturnableEntity, setAlias |
Methods inherited from interface org.hibernate.hql.ast.tree.InitializeableNode |
---|
initialize |
Constructor Detail |
---|
public MapEntryNode()
Method Detail |
---|
protected String expressionDescription()
expressionDescription
in class AbstractMapComponentNode
public Class getAggregationResultType()
AggregatedSelectExpression
getAggregationResultType
in interface AggregatedSelectExpression
protected Type resolveType(QueryableCollection collectionPersister)
resolveType
in class AbstractMapComponentNode
protected String[] resolveColumns(QueryableCollection collectionPersister)
resolveColumns
in class AbstractMapComponentNode
public SessionFactoryImplementor sfi()
public void setText(String s)
SelectExpression
setText
in interface antlr.collections.AST
setText
in interface SelectExpression
setText
in class SqlNode
s
- the new node text.public void setScalarColumn(int i) throws antlr.SemanticException
SelectExpression
setScalarColumn
in interface SelectExpression
setScalarColumn
in class AbstractSelectExpression
i
- The index of the select expression in the projection list.
antlr.SemanticException
public int getScalarColumnIndex()
SelectExpression
getScalarColumnIndex
in interface SelectExpression
getScalarColumnIndex
in class AbstractSelectExpression
public void setScalarColumnText(int i) throws antlr.SemanticException
SelectExpression
setScalarColumnText
in interface SelectExpression
setScalarColumnText
in class AbstractMapComponentNode
i
- The index of the select expression in the projection list.
antlr.SemanticException
public boolean isScalar()
isScalar
in interface SelectExpression
isScalar
in class AbstractSelectExpression
public List getAggregatedSelectionTypeList()
AggregatedSelectExpression
types
being aggregated
getAggregatedSelectionTypeList
in interface AggregatedSelectExpression
public String[] getAggregatedAliases()
AggregatedSelectExpression
getAggregatedAliases
in interface AggregatedSelectExpression
public ResultTransformer getResultTransformer()
AggregatedSelectExpression
ResultTransformer
responsible for building aggregated select expression results into their
aggregated form.
getResultTransformer
in interface AggregatedSelectExpression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |