|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SelectExpression
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 |
|---|
Type getDataType()
void setScalarColumnText(int i)
throws antlr.SemanticException
i - The index of the select expression in the projection list.
antlr.SemanticExceptionFromElement getFromElement()
boolean isConstructor()
boolean isReturnableEntity()
throws antlr.SemanticException
antlr.SemanticExceptionvoid setText(String text)
text - the new node text.
boolean isScalar()
throws antlr.SemanticException
antlr.SemanticExceptionvoid setAlias(String alias)
String getAlias()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||