public class Conjunction extends Junction
Constructor and Description |
---|
Conjunction()
Ctor - for use to create an expression tree, without child expression.
|
Conjunction(Expression first,
Expression second,
Expression... expressions)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
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 Conjunction()
Use add methods to add child expressions to acts upon.
public Conjunction(Expression first, Expression second, Expression... expressions)
first
- provides value to ANDsecond
- provides value to ANDexpressions
- is more expressions to put in the AND-relationship.public ExpressionPrecedenceEnum getPrecedence()
Expression
public void toPrecedenceFreeEPL(StringWriter writer)
ExpressionBase
toPrecedenceFreeEPL
in class ExpressionBase
writer
- is the output to use