Class SelectClauseExpression
java.lang.Object
com.espertech.esper.common.client.soda.SelectClauseExpression
- All Implemented Interfaces:
SelectClauseElement
,Serializable
Part of a select-clause to describe individual select-clause expressions.
- See Also:
-
Constructor Summary
ConstructorDescriptionCtor.SelectClauseExpression
(Expression expression) Ctor.SelectClauseExpression
(Expression expression, String optionalAsName) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the optional "as"-name of the expression, or null if not definedReturns the selection expression.boolean
Returns indicator whether annotated as "@eventbean"void
setAnnotatedByEventFlag
(boolean annotatedByEventFlag) Sets indicator whether annotated as "@eventbean"void
Sets the optional "as"-name of the expression, or null if not definedvoid
setExpression
(Expression expression) Sets the selection expression.void
toEPLElement
(StringWriter writer) Renders the element in textual representation.
-
Constructor Details
-
SelectClauseExpression
public SelectClauseExpression()Ctor. -
SelectClauseExpression
Ctor.- Parameters:
expression
- is the selection expression
-
SelectClauseExpression
Ctor.- Parameters:
expression
- is the selection expressionoptionalAsName
- is the "as"-tag for the expression
-
-
Method Details
-
getExpression
Returns the selection expression.- Returns:
- expression
-
setExpression
Sets the selection expression.- Parameters:
expression
- is the selection expression
-
getAsName
Returns the optional "as"-name of the expression, or null if not defined- Returns:
- tag or null for selection expression
-
setAsName
Sets the optional "as"-name of the expression, or null if not defined- Parameters:
asName
- column name or null for selection expression
-
isAnnotatedByEventFlag
public boolean isAnnotatedByEventFlag()Returns indicator whether annotated as "@eventbean"- Returns:
- "@eventbean" indicator
-
setAnnotatedByEventFlag
public void setAnnotatedByEventFlag(boolean annotatedByEventFlag) Sets indicator whether annotated as "@eventbean"- Parameters:
annotatedByEventFlag
- "@eventbean" indicator
-
toEPLElement
Renders the element in textual representation.- Specified by:
toEPLElement
in interfaceSelectClauseElement
- Parameters:
writer
- to output to
-