public interface SelectExpression
Modifier and Type | Method and Description |
---|---|
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.
|
Type getDataType()
void setScalarColumnText(int i) throws antlr.SemanticException
i
- The index of the select expression in the projection list.antlr.SemanticException
- if a semantic error occursvoid setScalarColumn(int i) throws antlr.SemanticException
i
- The index of the select expression in the projection list.antlr.SemanticException
- if a semantic error occursint getScalarColumnIndex()
FromElement getFromElement()
boolean isConstructor()
boolean isReturnableEntity() throws antlr.SemanticException
antlr.SemanticException
- if a semantic error occursvoid setText(String text)
text
- the new node text.boolean isScalar() throws antlr.SemanticException
antlr.SemanticException
void setAlias(String alias)
String getAlias()
Copyright © 2017 JBoss by Red Hat. All rights reserved.