|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.client.soda.SelectClauseElement
public class SelectClauseElement
Part of a select-clause to describe individual select-clause expressions.
Constructor Summary | |
---|---|
SelectClauseElement(Expression expression)
Ctor. |
|
SelectClauseElement(Expression expression,
String optionalAsName)
Ctor. |
Method Summary | |
---|---|
String |
getAsName()
Returns the optional "as"-name of the expression, or null if not defined |
Expression |
getExpression()
Returns the selection expression. |
void |
setAsName(String asName)
Sets the optional "as"-name of the expression, or null if not defined |
void |
setExpression(Expression expression)
Sets the selection expression. |
void |
toEQL(StringWriter writer)
Renders the element in textual representation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectClauseElement(Expression expression)
expression
- is the selection expressionpublic SelectClauseElement(Expression expression, String optionalAsName)
expression
- is the selection expressionoptionalAsName
- is the "as"-tag for the expressionMethod Detail |
---|
public Expression getExpression()
public void setExpression(Expression expression)
expression
- is the selection expressionpublic String getAsName()
public void setAsName(String asName)
asName
- column alias or null for selection expressionpublic void toEQL(StringWriter writer)
writer
- to output to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |