Class NamedParameterExpression
java.lang.Object
com.espertech.esper.common.client.soda.ExpressionBase
com.espertech.esper.common.client.soda.NamedParameterExpression
- All Implemented Interfaces:
Expression
,Serializable
Named parameter expression of the form "name:expression" or "name:(expression, expression...)"
- See Also:
-
Constructor Summary
ConstructorDescriptionCtor.Ctor. -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the parameter name.Returns precedence.void
Sets the parameter name.void
toPrecedenceFreeEPL
(StringWriter writer) Renders the expressions and all it's child expression, in full tree depth, as a string in language syntax.Methods inherited from class com.espertech.esper.common.client.soda.ExpressionBase
addChild, getChildren, getTreeObjectName, renderAggregation, setChildren, setTreeObjectName, toEPL, toPrecedenceFreeEPL, toPrecedenceFreeEPL
-
Constructor Details
-
NamedParameterExpression
public NamedParameterExpression()Ctor. -
NamedParameterExpression
Ctor.- Parameters:
name
- substitution parameter name
-
-
Method Details
-
getName
Returns the parameter name.- Returns:
- name
-
setName
Sets the parameter name.- Parameters:
name
- name to set
-
getPrecedence
Description copied from interface:Expression
Returns precedence.- Returns:
- precedence
-
toPrecedenceFreeEPL
Description copied from class:ExpressionBase
Renders the expressions and all it's child expression, in full tree depth, as a string in language syntax.- Specified by:
toPrecedenceFreeEPL
in classExpressionBase
- Parameters:
writer
- is the output to use
-