Class StaticMethodExpression
java.lang.Object
com.espertech.esper.common.client.soda.ExpressionBase
com.espertech.esper.common.client.soda.StaticMethodExpression
- All Implemented Interfaces:
Expression
,Serializable
Static method call consists of a class name and method name.
- See Also:
-
Constructor Summary
ConstructorDescriptionStaticMethodExpression
(String className, String method, Object[] parameters) Ctor.StaticMethodExpression
(String className, List<DotExpressionItem> chain) Ctor. -
Method Summary
Modifier and TypeMethodDescriptiongetChain()
Returns the chain of method invocations, each pair a method name and list of parameter expressionsReturns the class name.Returns precedence.void
setChain
(List<DotExpressionItem> chain) Sets the chain of method invocations, each pair a method name and list of parameter expressionsvoid
setClassName
(String className) Sets the class 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
-
StaticMethodExpression
Ctor.- Parameters:
className
- class name providing the static methodmethod
- method nameparameters
- an optional array of parameters
-
StaticMethodExpression
Ctor.- Parameters:
className
- class name providing the static methodchain
- method chain
-
-
Method Details
-
getChain
Returns the chain of method invocations, each pair a method name and list of parameter expressions- Returns:
- method chain
-
setChain
Sets the chain of method invocations, each pair a method name and list of parameter expressions- Parameters:
chain
- method chain
-
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
-
getClassName
Returns the class name.- Returns:
- class name
-
setClassName
Sets the class name.- Parameters:
className
- class name
-