类 AbstractSelectExpression
- 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
-
- 所有已实现的接口:
antlr.collections.AST,Serializable,InitializeableNode,SelectExpression
- 直接已知子类:
AggregateNode,BinaryArithmeticOperatorNode,BinaryLogicOperatorNode,CastFunctionNode,CountNode,FromReferenceNode,LiteralNode,MethodNode,NullNode,SearchedCaseNode,SimpleCaseNode,UnaryArithmeticNode,UnaryLogicOperatorNode
public abstract class AbstractSelectExpression extends HqlSqlWalkerNode implements SelectExpression
Partial implementation of SelectExpression for all the nodes that aren't constructors.- 作者:
- Joshua Davis
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 AbstractSelectExpression()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetAlias()FromElementgetFromElement()Returns the FROM element that this expression refers to.intgetScalarColumnIndex()Gets index of the select expression in the projection list.booleanisConstructor()Returns true if the element is a constructor (e.g. new Foo).booleanisReturnableEntity()Returns true if this select expression represents an entity that can be returned.booleanisScalar()voidsetAlias(String alias)voidsetScalarColumn(int i)Sets the index and text for select expression in the projection list.-
从类继承的方法 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.SelectExpression
getDataType, setScalarColumnText, setText
-
-
-
-
方法详细资料
-
setAlias
public final void setAlias(String alias)
- 指定者:
setAlias在接口中SelectExpression
-
getAlias
public final String getAlias()
- 指定者:
getAlias在接口中SelectExpression
-
isConstructor
public boolean isConstructor()
从接口复制的说明:SelectExpressionReturns true if the element is a constructor (e.g. new Foo).- 指定者:
isConstructor在接口中SelectExpression- 返回:
- true if the element is a constructor (e.g. new Foo).
-
isReturnableEntity
public boolean isReturnableEntity() throws antlr.SemanticException从接口复制的说明:SelectExpressionReturns true if this select expression represents an entity that can be returned.- 指定者:
isReturnableEntity在接口中SelectExpression- 返回:
- true if this select expression represents an entity that can be returned.
- 抛出:
antlr.SemanticException- if a semantic error occurs
-
getFromElement
public FromElement getFromElement()
从接口复制的说明:SelectExpressionReturns the FROM element that this expression refers to.- 指定者:
getFromElement在接口中SelectExpression- 返回:
- The FROM element.
-
isScalar
public boolean isScalar() throws antlr.SemanticException- 指定者:
isScalar在接口中SelectExpression- 抛出:
antlr.SemanticException
-
setScalarColumn
public void setScalarColumn(int i) throws antlr.SemanticException从接口复制的说明:SelectExpressionSets the index and text for select expression in the projection list.- 指定者:
setScalarColumn在接口中SelectExpression- 参数:
i- The index of the select expression in the projection list.- 抛出:
antlr.SemanticException- if a semantic error occurs
-
getScalarColumnIndex
public int getScalarColumnIndex()
从接口复制的说明:SelectExpressionGets index of the select expression in the projection list.- 指定者:
getScalarColumnIndex在接口中SelectExpression- 返回:
- The index of the select expression in the projection list.
-
-