Known Direct Subclasses
AbstractMapComponentNode |
TODO : javadoc |
DotNode |
Represents a reference to a property or alias expression. |
IdentNode |
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. |
IndexNode |
Represents the [] operator and provides it's semantics. |
SelectExpressionImpl |
A select expression that was generated by a FROM element. |
|
Known Indirect Subclasses
|
Class Overview
Represents a reference to a FROM element, for example a class alias in a WHERE clause.
Summary
Public Methods |
String
|
getDisplayText()
Returns additional display text for the AST node.
|
FromElement
|
getFromElement()
Returns the FROM element that this expression refers to.
|
FromElement
|
getImpliedJoin()
Sub-classes can override this method if they produce implied joins (e.g.
|
String
|
getPath()
Returns the full path name represented by the node.
|
boolean
|
isResolved()
|
boolean
|
isReturnableEntity()
Returns true if this select expression represents an entity that can be returned.
|
void
|
prepareForDot(String propertyName)
|
void
|
recursiveResolve(int level, boolean impliedAtRoot, String classAlias, AST parent)
|
void
|
recursiveResolve(int level, boolean impliedAtRoot, String classAlias)
|
void
|
resolve(boolean generateJoin, boolean implicitJoin)
Does the work of resolving an identifier or a dot, but without a parent node or alias
|
void
|
resolve(boolean generateJoin, boolean implicitJoin, String classAlias)
Does the work of resolving an identifier or a dot, but without a parent node
|
void
|
resolveFirstChild()
Resolves the left hand side of the DOT.
|
void
|
resolveInFunctionCall(boolean generateJoin, boolean implicitJoin)
Does the work of resolving inside of the scope of a function call
|
void
|
setFromElement(FromElement fromElement)
|
void
|
setResolved()
|
[Expand]
Inherited Methods |
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
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
org.hibernate.hql.ast.tree.DisplayableNode
|
From interface
org.hibernate.hql.ast.tree.InitializeableNode
|
From interface
org.hibernate.hql.ast.tree.PathNode
abstract
String
|
getPath()
Returns the full path name represented by the node.
|
|
From interface
org.hibernate.hql.ast.tree.ResolvableNode
abstract
void
|
resolve(boolean generateJoin, boolean implicitJoin, String classAlias, AST parent)
Does the work of resolving an identifier or a dot
|
abstract
void
|
resolve(boolean generateJoin, boolean implicitJoin)
Does the work of resolving an identifier or a dot, but without a parent node or alias
|
abstract
void
|
resolve(boolean generateJoin, boolean implicitJoin, String classAlias)
Does the work of resolving an identifier or a dot, but without a parent node
|
abstract
void
|
resolveInFunctionCall(boolean generateJoin, boolean implicitJoin)
Does the work of resolving inside of the scope of a function call
|
abstract
void
|
resolveIndex(AST parent)
Does the work of resolving an an index [].
|
|
From interface
org.hibernate.hql.ast.tree.SelectExpression
|
Constants
public
static
final
int
ROOT_LEVEL
Constant Value:
0
(0x00000000)
Public Constructors
public
FromReferenceNode
()
Public Methods
public
String
getDisplayText
()
Returns additional display text for the AST node.
Returns
- String - The additional display text.
public
FromElement
getFromElement
()
Returns the FROM element that this expression refers to.
public
FromElement
getImpliedJoin
()
Sub-classes can override this method if they produce implied joins (e.g. DotNode).
Returns
- an implied join created by this from reference.
public
String
getPath
()
Returns the full path name represented by the node.
Returns
- the full path name represented by the node.
public
boolean
isResolved
()
public
boolean
isReturnableEntity
()
Returns true if this select expression represents an entity that can be returned.
Returns
- true if this select expression represents an entity that can be returned.
public
void
prepareForDot
(String propertyName)
public
void
recursiveResolve
(int level, boolean impliedAtRoot, String classAlias, AST parent)
public
void
recursiveResolve
(int level, boolean impliedAtRoot, String classAlias)
public
void
resolve
(boolean generateJoin, boolean implicitJoin)
Does the work of resolving an identifier or a dot, but without a parent node or alias
public
void
resolve
(boolean generateJoin, boolean implicitJoin, String classAlias)
Does the work of resolving an identifier or a dot, but without a parent node
public
void
resolveFirstChild
()
Resolves the left hand side of the DOT.
public
void
resolveInFunctionCall
(boolean generateJoin, boolean implicitJoin)
Does the work of resolving inside of the scope of a function call
public
void
setResolved
()