类 MapEntryNode
- java.lang.Object
-
- antlr.BaseAST
-
- 所有已实现的接口:
antlr.collections.AST,Serializable,HqlSqlTokenTypes,AggregatedSelectExpression,DisplayableNode,InitializeableNode,PathNode,ResolvableNode,SelectExpression,TableReferenceNode
public class MapEntryNode extends AbstractMapComponentNode implements AggregatedSelectExpression
Tree node representing reference to the entry (Map.Entry) of a Map association.- 作者:
- Steve Ebersole
- 另请参阅:
- 序列化表格
-
-
字段概要
-
从类继承的字段 org.hibernate.hql.internal.ast.tree.FromReferenceNode
ROOT_LEVEL
-
从接口继承的字段 org.hibernate.hql.internal.antlr.HqlSqlTokenTypes
AGGREGATE, ALIAS, ALIAS_REF, ALL, AND, ANY, AS, ASCENDING, AVG, BETWEEN, BOGUS, BOTH, CASE, CASE2, CAST, CLASS, CLOSE, CLOSE_BRACKET, COLON, COMMA, CONCAT, CONSTANT, CONSTRUCTOR, COUNT, DELETE, DESCENDING, DISTINCT, DIV, DOT, ELEMENTS, ELSE, EMPTY, END, ENTITY_JOIN, ENTRY, EOF, EQ, ESCAPE, ESCqs, EXISTS, EXPONENT, EXPR_LIST, FALSE, FETCH, FILTER_ENTITY, FILTERS, FIRST, FLOAT_SUFFIX, FROM, FROM_FRAGMENT, FULL, GE, GROUP, GT, HAVING, HEX_DIGIT, ID_LETTER, ID_START_LETTER, IDENT, IMPLIED_FROM, IN, IN_LIST, INDEX_OP, INDICES, INNER, INSERT, INTO, IS, IS_NOT_NULL, IS_NULL, JAVA_CONSTANT, JOIN, JOIN_FRAGMENT, KEY, LAST, LE, LEADING, LEFT, LEFT_OUTER, LIKE, LITERAL_ascending, LITERAL_by, LITERAL_descending, LT, MAX, MEMBER, METHOD_CALL, METHOD_NAME, MIN, MINUS, MOD, NAMED_PARAM, NE, NEW, NOT, NOT_BETWEEN, NOT_IN, NOT_LIKE, NULL, NULL_TREE_LOOKAHEAD, NULLS, NUM_BIG_DECIMAL, NUM_BIG_INTEGER, NUM_DOUBLE, NUM_FLOAT, NUM_INT, NUM_LONG, OBJECT, OF, ON, OPEN, OPEN_BRACKET, OR, ORDER, ORDER_ELEMENT, OUTER, PARAM, PLUS, PROPERTIES, PROPERTY_REF, QUERY, QUOTED_STRING, RANGE, RESULT_VARIABLE_REF, RIGHT, RIGHT_OUTER, ROW_STAR, SELECT, SELECT_CLAUSE, SELECT_COLUMNS, SELECT_EXPR, SELECT_FROM, SET, SOME, SQL_NE, SQL_TOKEN, STAR, SUM, THEN, THETA_JOINS, TRAILING, TRUE, UNARY_MINUS, UNARY_PLUS, UPDATE, VALUE, VECTOR_EXPR, VERSIONED, WEIRD_IDENT, WHEN, WHERE, WITH, WS
-
-
构造器概要
构造器 构造器 说明 MapEntryNode()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected StringexpressionDescription()String[]getAggregatedAliases()Retrieve the aliases for the columns aggregated here.ListgetAggregatedSelectionTypeList()Retrieves a list of the selectiontypesbeing aggregatedClassgetAggregationResultType()Obtain the java type of the aggregationResultTransformergetResultTransformer()Retrieve theResultTransformerresponsible for building aggregated select expression results into their aggregated form.intgetScalarColumnIndex()Gets index of the select expression in the projection list.booleanisScalar()voidresolve(boolean generateJoin, boolean implicitJoin, String classAlias, antlr.collections.AST parent, antlr.collections.AST parentPredicate)Does the work of resolving an identifier or a dotprotected String[]resolveColumns(QueryableCollection collectionPersister)protected TyperesolveType(QueryableCollection collectionPersister)voidsetScalarColumn(int i)Sets the index and text for select expression in the projection list.voidsetScalarColumnText(int i)Appends AST nodes that represent the columns after the current AST node.voidsetText(String s)Sets the text of the node.SessionFactoryImplementorsfi()-
从类继承的方法 org.hibernate.hql.internal.ast.tree.AbstractMapComponentNode
findOrAddMapKeyEntityFromElement, getColumns, getMapFromElement, getMapReference, getReferencedTables, nonMap, resolveIndex
-
从类继承的方法 org.hibernate.hql.internal.ast.tree.FromReferenceNode
getDisplayText, getFromElement, getImpliedJoin, getPath, isFromElementUpdateOrDeleteRoot, isResolved, isReturnableEntity, prepareForDot, recursiveResolve, recursiveResolve, resolve, resolve, resolve, resolveFirstChild, resolveInFunctionCall, setFromElement, setResolved
-
从类继承的方法 org.hibernate.hql.internal.ast.tree.AbstractSelectExpression
getAlias, isConstructor, setAlias
-
从类继承的方法 org.hibernate.hql.internal.ast.tree.HqlSqlWalkerNode
getAliasGenerator, getASTFactory, getSessionFactoryHelper, getWalker, initialize
-
从类继承的方法 org.hibernate.hql.internal.ast.tree.SqlNode
getDataType, getOriginalText, setDataType
-
从类继承的方法 org.hibernate.hql.internal.ast.tree.Node
getColumn, getFilename, getLine, getRenderText, getTextLength, initialize, initialize
-
从类继承的方法 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
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 org.hibernate.hql.internal.ast.tree.InitializeableNode
initialize
-
从接口继承的方法 org.hibernate.hql.internal.ast.tree.SelectExpression
getAlias, getDataType, getFromElement, isConstructor, isReturnableEntity, setAlias
-
-
-
-
方法详细资料
-
expressionDescription
protected String expressionDescription()
-
getAggregationResultType
public Class getAggregationResultType()
从接口复制的说明:AggregatedSelectExpressionObtain the java type of the aggregation- 指定者:
getAggregationResultType在接口中AggregatedSelectExpression- 返回:
- The java type.
-
resolve
public void resolve(boolean generateJoin, boolean implicitJoin, String classAlias, antlr.collections.AST parent, antlr.collections.AST parentPredicate) throws antlr.SemanticException从接口复制的说明:ResolvableNodeDoes the work of resolving an identifier or a dot- 指定者:
resolve在接口中ResolvableNode- 覆盖:
resolve在类中AbstractMapComponentNode- 抛出:
antlr.SemanticException
-
resolveType
protected Type resolveType(QueryableCollection collectionPersister)
- 指定者:
resolveType在类中AbstractMapComponentNode
-
resolveColumns
protected String[] resolveColumns(QueryableCollection collectionPersister)
- 指定者:
resolveColumns在类中AbstractMapComponentNode
-
sfi
public SessionFactoryImplementor sfi()
-
setText
public void setText(String s)
从接口复制的说明:SelectExpressionSets the text of the node.- 指定者:
setText在接口中antlr.collections.AST- 指定者:
setText在接口中SelectExpression- 覆盖:
setText在类中SqlNode- 参数:
s- the new node text.
-
setScalarColumn
public void setScalarColumn(int i)
从接口复制的说明:SelectExpressionSets the index and text for select expression in the projection list.- 指定者:
setScalarColumn在接口中SelectExpression- 覆盖:
setScalarColumn在类中AbstractSelectExpression- 参数:
i- The index of the select expression in the projection list.
-
getScalarColumnIndex
public int getScalarColumnIndex()
从接口复制的说明:SelectExpressionGets index of the select expression in the projection list.- 指定者:
getScalarColumnIndex在接口中SelectExpression- 覆盖:
getScalarColumnIndex在类中AbstractSelectExpression- 返回:
- The index of the select expression in the projection list.
-
setScalarColumnText
public void setScalarColumnText(int i)
从接口复制的说明:SelectExpressionAppends AST nodes that represent the columns after the current AST node. (e.g. 'as col0_O_')- 指定者:
setScalarColumnText在接口中SelectExpression- 覆盖:
setScalarColumnText在类中AbstractMapComponentNode- 参数:
i- The index of the select expression in the projection list.
-
isScalar
public boolean isScalar()
- 指定者:
isScalar在接口中SelectExpression- 覆盖:
isScalar在类中AbstractSelectExpression
-
getAggregatedSelectionTypeList
public List getAggregatedSelectionTypeList()
从接口复制的说明:AggregatedSelectExpressionRetrieves a list of the selectiontypesbeing aggregated- 指定者:
getAggregatedSelectionTypeList在接口中AggregatedSelectExpression- 返回:
- The list of types.
-
getAggregatedAliases
public String[] getAggregatedAliases()
从接口复制的说明:AggregatedSelectExpressionRetrieve the aliases for the columns aggregated here.- 指定者:
getAggregatedAliases在接口中AggregatedSelectExpression- 返回:
- The column aliases.
-
getResultTransformer
public ResultTransformer getResultTransformer()
从接口复制的说明:AggregatedSelectExpressionRetrieve theResultTransformerresponsible for building aggregated select expression results into their aggregated form.- 指定者:
getResultTransformer在接口中AggregatedSelectExpression- 返回:
- The appropriate transformer
-
-