public class SingleRowMethodExpression extends ExpressionBase
Constructor and Description |
---|
SingleRowMethodExpression(List<DotExpressionItem> chain)
Ctor.
|
SingleRowMethodExpression(String method,
Object[] parameters)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
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(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(String method, Object[] parameters)
method
- method nameparameters
- an optiona array of parameterspublic SingleRowMethodExpression(List<DotExpressionItem> chain)
chain
- of method invocations with at least one element, each pair a method name and list of parameter expressionspublic List<DotExpressionItem> getChain()
public ExpressionPrecedenceEnum getPrecedence()
Expression
public void toPrecedenceFreeEPL(StringWriter writer)
ExpressionBase
toPrecedenceFreeEPL
in class ExpressionBase
writer
- is the output to use