|
||||||||||
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. |
int |
getScalarColumnIndex()
Gets index of the select expression in the projection list. |
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 |
setScalarColumn(int i)
Sets the index and text for select expression in the projection list. |
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.SemanticException
void setScalarColumn(int i) throws antlr.SemanticException
i
- The index of the select expression in the projection list.
antlr.SemanticException
int getScalarColumnIndex()
FromElement getFromElement()
boolean isConstructor()
boolean isReturnableEntity() throws antlr.SemanticException
antlr.SemanticException
void setText(String text)
text
- the new node text.boolean isScalar() throws antlr.SemanticException
antlr.SemanticException
void setAlias(String alias)
String getAlias()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |