|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectantlr.BaseAST
antlr.CommonAST
org.hibernate.hql.internal.ast.tree.Node
org.hibernate.hql.internal.ast.tree.SqlNode
org.hibernate.hql.internal.ast.tree.HqlSqlWalkerNode
org.hibernate.hql.internal.ast.tree.AbstractSelectExpression
org.hibernate.hql.internal.ast.tree.FromReferenceNode
org.hibernate.hql.internal.ast.tree.AbstractMapComponentNode
org.hibernate.hql.internal.ast.tree.MapEntryNode
public class MapEntryNode
Tree node representing reference to the entry (Map.Entry) of a Map association.
| Field Summary |
|---|
| Fields inherited from class org.hibernate.hql.internal.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.internal.ast.tree.AbstractMapComponentNode |
|---|
attemptedDereference, getColumns, getMapReference, nonMap, resolve, resolveIndex |
| Methods inherited from class org.hibernate.hql.internal.ast.tree.FromReferenceNode |
|---|
getDisplayText, getFromElement, getImpliedJoin, getPath, isFromElementUpdateOrDeleteRoot, isResolved, isReturnableEntity, prepareForDot, recursiveResolve, recursiveResolve, resolve, resolve, resolveFirstChild, resolveInFunctionCall, setFromElement, setResolved |
| Methods inherited from class org.hibernate.hql.internal.ast.tree.AbstractSelectExpression |
|---|
getAlias, isConstructor, setAlias |
| Methods inherited from class org.hibernate.hql.internal.ast.tree.HqlSqlWalkerNode |
|---|
getAliasGenerator, getASTFactory, getSessionFactoryHelper, getWalker, initialize |
| Methods inherited from class org.hibernate.hql.internal.ast.tree.SqlNode |
|---|
getDataType, getOriginalText, setDataType |
| Methods inherited from class org.hibernate.hql.internal.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.internal.ast.tree.SelectExpression |
|---|
getAlias, getDataType, getFromElement, isConstructor, isReturnableEntity, setAlias |
| Methods inherited from interface org.hibernate.hql.internal.ast.tree.InitializeableNode |
|---|
initialize |
| Constructor Detail |
|---|
public MapEntryNode()
| Method Detail |
|---|
protected String expressionDescription()
expressionDescription in class AbstractMapComponentNodepublic Class getAggregationResultType()
AggregatedSelectExpression
getAggregationResultType in interface AggregatedSelectExpressionprotected Type resolveType(QueryableCollection collectionPersister)
resolveType in class AbstractMapComponentNodeprotected String[] resolveColumns(QueryableCollection collectionPersister)
resolveColumns in class AbstractMapComponentNodepublic SessionFactoryImplementor sfi()
public void setText(String s)
SelectExpression
setText in interface antlr.collections.ASTsetText in interface SelectExpressionsetText in class SqlNodes - the new node text.
public void setScalarColumn(int i)
throws antlr.SemanticException
SelectExpression
setScalarColumn in interface SelectExpressionsetScalarColumn in class AbstractSelectExpressioni - The index of the select expression in the projection list.
antlr.SemanticException - if a semantic error occurspublic int getScalarColumnIndex()
SelectExpression
getScalarColumnIndex in interface SelectExpressiongetScalarColumnIndex in class AbstractSelectExpression
public void setScalarColumnText(int i)
throws antlr.SemanticException
SelectExpression
setScalarColumnText in interface SelectExpressionsetScalarColumnText in class AbstractMapComponentNodei - The index of the select expression in the projection list.
antlr.SemanticException - if a semantic error occurspublic boolean isScalar()
isScalar in interface SelectExpressionisScalar in class AbstractSelectExpressionpublic List getAggregatedSelectionTypeList()
AggregatedSelectExpressiontypes being aggregated
getAggregatedSelectionTypeList in interface AggregatedSelectExpressionpublic String[] getAggregatedAliases()
AggregatedSelectExpression
getAggregatedAliases in interface AggregatedSelectExpressionpublic ResultTransformer getResultTransformer()
AggregatedSelectExpressionResultTransformer 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 | |||||||||