Class DotExpression
java.lang.Object
com.espertech.esper.common.client.soda.ExpressionBase
com.espertech.esper.common.client.soda.DotExpression
- All Implemented Interfaces:
Expression
,Serializable
Dot-expresson is for use in "(inner_expression).dot_expression".
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(DotExpressionItem item) Add a method to the chain of methods after the dot.void
add
(String methodName, List<Expression> parameters) Add a method to the chain of methods after the dot.void
add
(String name, List<Expression> parameters, boolean isProperty) Add a method to the chain of methods after the dot, indicating the this segment is a property and does not need parenthesis and won't have paramaters.getChain()
Returns the method chain of all methods after the dot.Returns precedence.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
-
DotExpression
public DotExpression()Ctor. -
DotExpression
Ctor.- Parameters:
innerExpression
- the expression in parenthesis
-
-
Method Details
-
add
Add a method to the chain of methods after the dot.- Parameters:
item
- item to add
-
add
Add a method to the chain of methods after the dot.- Parameters:
methodName
- to addparameters
- parameters to method
-
add
Add a method to the chain of methods after the dot, indicating the this segment is a property and does not need parenthesis and won't have paramaters.- Parameters:
name
- nameparameters
- parameter expressionsisProperty
- property flag
-
getChain
Returns the method chain of all methods after the dot.- Returns:
- method name ane list of parameters
-
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
-