Class SubstitutionParameterExpression
java.lang.Object
com.espertech.esper.common.client.soda.ExpressionBase
com.espertech.esper.common.client.soda.SubstitutionParameterExpression
- All Implemented Interfaces:
Expression
,Serializable
Represents a substitution parameter
- See Also:
-
Constructor Summary
ConstructorDescriptionCtor.SubstitutionParameterExpression
(String optionalName, String optionalType) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name when providedReturns the type when providedReturns precedence.void
setOptionalName
(String optionalName) Sets the namevoid
setOptionalType
(String optionalType) Sets the typevoid
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
-
SubstitutionParameterExpression
public SubstitutionParameterExpression()Ctor. -
SubstitutionParameterExpression
Ctor.- Parameters:
optionalName
- name of the substitution parameter or null if none providedoptionalType
- type of the substitution parameter or null if none provided
-
-
Method Details
-
getOptionalName
Returns the name when provided- Returns:
- name
-
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
-
setOptionalName
Sets the name- Parameters:
optionalName
- name
-
getOptionalType
Returns the type when provided- Returns:
- type
-
setOptionalType
Sets the type- Parameters:
optionalType
- type
-