public class SingleRowMethodExpression extends ExpressionBase
Constructor and Description |
---|
SingleRowMethodExpression(java.util.List<DotExpressionItem> chain)
Ctor.
|
SingleRowMethodExpression(java.lang.String method,
java.lang.Object[] parameters)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<DotExpressionItem> |
getChain()
Returns the optional method invocation chain for the single-row method consisting of
pairs of method name and list of parameters.
|
ExpressionPrecedenceEnum |
getPrecedence()
Returns precedence.
|
void |
toPrecedenceFreeEPL(java.io.StringWriter writer)
Renders the expressions and all it's child expression, in full tree depth, as a string in
language syntax.
|
addChild, getChildren, getTreeObjectName, renderAggregation, setChildren, setTreeObjectName, toEPL, toPrecedenceFreeEPL, toPrecedenceFreeEPL
public SingleRowMethodExpression(java.lang.String method, java.lang.Object[] parameters)
method
- method nameparameters
- an optiona array of parameterspublic SingleRowMethodExpression(java.util.List<DotExpressionItem> chain)
chain
- of method invocations with at least one element, each pair a method name and list of parameter expressionspublic java.util.List<DotExpressionItem> getChain()
public ExpressionPrecedenceEnum getPrecedence()
Expression
public void toPrecedenceFreeEPL(java.io.StringWriter writer)
ExpressionBase
toPrecedenceFreeEPL
in class ExpressionBase
writer
- is the output to use