类 AbstractMapComponentNode
- java.lang.Object
-
- antlr.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
-
- 所有已实现的接口:
antlr.collections.AST,Serializable,HqlSqlTokenTypes,DisplayableNode,InitializeableNode,PathNode,ResolvableNode,SelectExpression,TableReferenceNode
- 直接已知子类:
MapEntryNode,MapKeyNode,MapValueNode
public abstract class AbstractMapComponentNode extends FromReferenceNode implements HqlSqlTokenTypes, TableReferenceNode
Basic support for KEY, VALUE and ENTRY based "qualified identification variables".- 作者:
- 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
-
-
构造器概要
构造器 构造器 说明 AbstractMapComponentNode()
-
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 protected abstract StringexpressionDescription()protected MapKeyEntityFromElementfindOrAddMapKeyEntityFromElement(QueryableCollection collectionPersister)String[]getColumns()FromElementgetMapFromElement()FromReferenceNodegetMapReference()String[]getReferencedTables()Returns table names which are referenced by this node.protected antlr.SemanticExceptionnonMap()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 abstract String[]resolveColumns(QueryableCollection collectionPersister)voidresolveIndex(antlr.collections.AST parent)Does the work of resolving an index [].protected abstract TyperesolveType(QueryableCollection collectionPersister)voidsetScalarColumnText(int i)Appends AST nodes that represent the columns after the current AST node.-
从类继承的方法 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, getScalarColumnIndex, isConstructor, isScalar, setAlias, setScalarColumn
-
从类继承的方法 org.hibernate.hql.internal.ast.tree.HqlSqlWalkerNode
getAliasGenerator, getASTFactory, getSessionFactoryHelper, getWalker, initialize
-
从类继承的方法 org.hibernate.hql.internal.ast.tree.SqlNode
getDataType, getOriginalText, setDataType, setText
-
从类继承的方法 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
getDataType, setText
-
-
-
-
方法详细资料
-
getMapReference
public FromReferenceNode getMapReference()
-
getColumns
public String[] getColumns()
-
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- 参数:
i- The index of the select expression in the projection list.
-
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- 抛出:
antlr.SemanticException
-
getMapFromElement
public FromElement getMapFromElement()
-
expressionDescription
protected abstract String expressionDescription()
-
resolveColumns
protected abstract String[] resolveColumns(QueryableCollection collectionPersister)
-
resolveType
protected abstract Type resolveType(QueryableCollection collectionPersister)
-
nonMap
protected antlr.SemanticException nonMap()
-
resolveIndex
public void resolveIndex(antlr.collections.AST parent)
从接口复制的说明:ResolvableNodeDoes the work of resolving an index [].- 指定者:
resolveIndex在接口中ResolvableNode
-
findOrAddMapKeyEntityFromElement
protected MapKeyEntityFromElement findOrAddMapKeyEntityFromElement(QueryableCollection collectionPersister)
-
getReferencedTables
public String[] getReferencedTables()
从接口复制的说明:TableReferenceNodeReturns table names which are referenced by this node. If the tables can not be determined it returns null.- 指定者:
getReferencedTables在接口中TableReferenceNode- 返回:
- table names or null.
-
-