Represents a reference to a FROM element, for example a class alias in a WHERE clause.
getDisplayText
public String getDisplayText()
Returns additional display text for the AST node.
- getDisplayText in interface DisplayableNode
- String - The additional display text.
getImpliedJoin
public FromElement getImpliedJoin()
Sub-classes can override this method if they produce implied joins (e.g. DotNode).
- an implied join created by this from reference.
getPath
public String getPath()
Returns the full path name represented by the node.
- getPath in interface PathNode
- the full path name represented by the node.
isResolved
public boolean isResolved()
prepareForDot
public void prepareForDot(String propertyName)
throws SemanticException
recursiveResolve
public void recursiveResolve(int level,
boolean impliedAtRoot,
String classAlias)
throws SemanticException
recursiveResolve
public void recursiveResolve(int level,
boolean impliedAtRoot,
String classAlias,
AST parent)
throws SemanticException
resolve
public void resolve(boolean generateJoin,
boolean implicitJoin)
throws SemanticException
Does the work of resolving an identifier or a dot, but without a parent node or alias
- resolve in interface ResolvableNode
resolve
public void resolve(boolean generateJoin,
boolean implicitJoin,
String classAlias)
throws SemanticException
Does the work of resolving an identifier or a dot, but without a parent node
- resolve in interface ResolvableNode
resolveFirstChild
public void resolveFirstChild()
throws SemanticException
Resolves the left hand side of the DOT.
resolveInFunctionCall
public void resolveInFunctionCall(boolean generateJoin,
boolean implicitJoin)
throws SemanticException
Does the work of resolving inside of the scope of a function call
- resolveInFunctionCall in interface ResolvableNode
setFromElement
public void setFromElement(FromElement fromElement)
setResolved
public void setResolved()