public abstract class FromReferenceNode extends AbstractSelectExpression implements ResolvableNode, DisplayableNode, InitializeableNode, PathNode
| Modifier and Type | Field and Description | 
|---|---|
static int | 
ROOT_LEVEL  | 
| Constructor and Description | 
|---|
FromReferenceNode()  | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
protected boolean | 
isFromElementUpdateOrDeleteRoot(FromElement element)  | 
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)  | 
void | 
recursiveResolve(int level,
                boolean impliedAtRoot,
                String classAlias,
                antlr.collections.AST parent)  | 
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()  | 
getAlias, getScalarColumnIndex, isConstructor, isScalar, setAlias, setScalarColumngetAliasGenerator, getASTFactory, getSessionFactoryHelper, getWalker, initializegetDataType, getOriginalText, setDataType, setTextgetColumn, getFilename, getLine, getRenderText, getTextLength, initialize, initializeaddChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toString, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpenclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitresolve, resolveIndexinitializegetDataType, setScalarColumnText, setTextpublic static final int ROOT_LEVEL
public FromElement getFromElement()
SelectExpressiongetFromElement in interface SelectExpressiongetFromElement in class AbstractSelectExpressionpublic void setFromElement(FromElement fromElement)
public void resolveFirstChild()
                       throws antlr.SemanticException
antlr.SemanticExceptionpublic String getPath()
PathNodepublic boolean isResolved()
public void setResolved()
public String getDisplayText()
DisplayableNodegetDisplayText in interface DisplayableNodepublic void recursiveResolve(int level,
                    boolean impliedAtRoot,
                    String classAlias)
                      throws antlr.SemanticException
antlr.SemanticExceptionpublic void recursiveResolve(int level,
                    boolean impliedAtRoot,
                    String classAlias,
                    antlr.collections.AST parent)
                      throws antlr.SemanticException
antlr.SemanticExceptionpublic boolean isReturnableEntity()
                           throws antlr.SemanticException
SelectExpressionisReturnableEntity in interface SelectExpressionisReturnableEntity in class AbstractSelectExpressionantlr.SemanticException - if a semantic error occurspublic void resolveInFunctionCall(boolean generateJoin,
                         boolean implicitJoin)
                           throws antlr.SemanticException
ResolvableNoderesolveInFunctionCall in interface ResolvableNodeantlr.SemanticExceptionpublic void resolve(boolean generateJoin,
           boolean implicitJoin)
             throws antlr.SemanticException
ResolvableNoderesolve in interface ResolvableNodeantlr.SemanticExceptionpublic void resolve(boolean generateJoin,
           boolean implicitJoin,
           String classAlias)
             throws antlr.SemanticException
ResolvableNoderesolve in interface ResolvableNodeantlr.SemanticExceptionpublic void prepareForDot(String propertyName) throws antlr.SemanticException
antlr.SemanticExceptionpublic FromElement getImpliedJoin()
protected boolean isFromElementUpdateOrDeleteRoot(FromElement element)
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.