public class

IdentNode

extends FromReferenceNode
implements SelectExpression
java.lang.Object
   ↳ 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.IdentNode

Class Overview

Represents an identifier all by itself, which may be a function name, a class alias, or a form of naked property-ref depending on the context.

Summary

[Expand]
Inherited Constants
From class org.hibernate.hql.ast.tree.FromReferenceNode
Public Constructors
IdentNode()
Public Methods
Type getDataType()
String getDisplayText()
Returns additional display text for the AST node.
void resolve(boolean generateJoin, boolean implicitJoin, String classAlias, AST parent)
void resolveIndex(AST parent)
void setScalarColumnText(int i)
Appends AST nodes that represent the columns after the current AST node.
[Expand]
Inherited Methods
From class org.hibernate.hql.ast.tree.FromReferenceNode
From class org.hibernate.hql.ast.tree.AbstractSelectExpression
From class org.hibernate.hql.ast.tree.HqlSqlWalkerNode
From class org.hibernate.hql.ast.tree.SqlNode
From class org.hibernate.hql.ast.tree.Node
From class java.lang.Object
From interface org.hibernate.hql.ast.tree.DisplayableNode
From interface org.hibernate.hql.ast.tree.InitializeableNode
From interface org.hibernate.hql.ast.tree.PathNode
From interface org.hibernate.hql.ast.tree.ResolvableNode
From interface org.hibernate.hql.ast.tree.SelectExpression

Public Constructors

public IdentNode ()

Public Methods

public Type getDataType ()

public String getDisplayText ()

Returns additional display text for the AST node.

Returns
  • String - The additional display text.

public void resolve (boolean generateJoin, boolean implicitJoin, String classAlias, AST parent)

public void resolveIndex (AST parent)

Throws
SemanticException

public void setScalarColumnText (int i)

Appends AST nodes that represent the columns after the current AST node. (e.g. 'as col0_O_')

Parameters
i The index of the select expression in the projection list.
Throws
SemanticException