|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents an element of a projection list, i.e. a select expression.
Method Summary | |
String |
getAlias()
|
Type |
getDataType()
Returns the data type of the select expression. |
FromElement |
getFromElement()
Returns the FROM element that this expression refers to. |
boolean |
isConstructor()
Returns true if the element is a constructor (e.g. |
boolean |
isReturnableEntity()
Returns true if this select expression represents an entity that can be returned. |
boolean |
isScalar()
|
void |
setAlias(String alias)
|
void |
setScalarColumnText(int i)
Appends AST nodes that represent the columns after the current AST node. |
void |
setText(String text)
Sets the text of the node. |
Method Detail |
public Type getDataType()
public void setScalarColumnText(int i) throws antlr.SemanticException
i
- The index of the select expression in the projection list.
antlr.SemanticException
public FromElement getFromElement()
public boolean isConstructor()
public boolean isReturnableEntity() throws antlr.SemanticException
antlr.SemanticException
public void setText(String text)
text
- the new node text.public boolean isScalar() throws antlr.SemanticException
antlr.SemanticException
public void setAlias(String alias)
public String getAlias()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |