public class MinRowExpression extends ExpressionBase
Constructor and Description |
---|
MinRowExpression()
Ctor - for use to create an expression tree, without child expression.
|
MinRowExpression(Expression exprOne,
Expression exprTwo,
Expression... moreExpressions)
Ctor.
|
MinRowExpression(String propertyOne,
String propertyTwo,
String[] moreProperties)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
MinRowExpression |
add(Expression expression)
Add an expression to include in the computation.
|
MinRowExpression |
add(Object object)
Add a constant to include in the computation.
|
MinRowExpression |
add(String propertyName)
Add a property to include in the computation.
|
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 MinRowExpression()
Use add methods to add child expressions to acts upon.
public MinRowExpression(String propertyOne, String propertyTwo, String[] moreProperties)
propertyOne
- the name of the property providing a value to determine the minimum ofpropertyTwo
- the name of the property providing a value to determine the minimum ofmoreProperties
- optional additional properties to considerpublic MinRowExpression(Expression exprOne, Expression exprTwo, Expression... moreExpressions)
exprOne
- provides a value to determine the maximum ofexprTwo
- provides a value to determine the maximum ofmoreExpressions
- optional additional values to considerpublic MinRowExpression add(Object object)
object
- constant to addpublic MinRowExpression add(Expression expression)
expression
- to addpublic MinRowExpression add(String propertyName)
propertyName
- is the name of the propertypublic ExpressionPrecedenceEnum getPrecedence()
Expression
public void toPrecedenceFreeEPL(StringWriter writer)
ExpressionBase
toPrecedenceFreeEPL
in class ExpressionBase
writer
- is the output to use