public class SelectClauseExpression extends Object implements SelectClauseElement
Constructor and Description |
---|
SelectClauseExpression()
Ctor.
|
SelectClauseExpression(Expression expression)
Ctor.
|
SelectClauseExpression(Expression expression,
String optionalAsName)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
String |
getAsName()
Returns the optional "as"-name of the expression, or null if not defined
|
Expression |
getExpression()
Returns the selection expression.
|
boolean |
isAnnotatedByEventFlag()
Returns indicator whether annotated as "@eventbean"
|
void |
setAnnotatedByEventFlag(boolean annotatedByEventFlag)
Sets indicator whether annotated as "@eventbean"
|
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 |
toEPLElement(StringWriter writer)
Renders the element in textual representation.
|
public SelectClauseExpression()
public SelectClauseExpression(Expression expression)
expression
- is the selection expressionpublic SelectClauseExpression(Expression expression, String optionalAsName)
expression
- is the selection expressionoptionalAsName
- is the "as"-tag for the expressionpublic Expression getExpression()
public void setExpression(Expression expression)
expression
- is the selection expressionpublic String getAsName()
public void setAsName(String asName)
asName
- column name or null for selection expressionpublic boolean isAnnotatedByEventFlag()
public void setAnnotatedByEventFlag(boolean annotatedByEventFlag)
annotatedByEventFlag
- "@eventbean" indicatorpublic void toEPLElement(StringWriter writer)
toEPLElement
in interface SelectClauseElement
writer
- to output toCopyright © 2005–2018. All rights reserved.