public class SumProjectionExpression extends ExpressionBase
Constructor and Description |
---|
SumProjectionExpression()
Ctor.
|
SumProjectionExpression(boolean isDistinct)
Ctor - for use to create an expression tree, without inner expression
|
SumProjectionExpression(Expression expression,
boolean isDistinct)
Ctor - adds the expression to project.
|
Modifier and Type | Method and Description |
---|---|
ExpressionPrecedenceEnum |
getPrecedence()
Returns precedence.
|
boolean |
isDistinct()
Returns true if the projection considers distinct values only.
|
void |
setDistinct(boolean distinct)
Set the distinct flag indicating the projection considers distinct values only.
|
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 SumProjectionExpression()
public SumProjectionExpression(boolean isDistinct)
isDistinct
- true if distinctpublic SumProjectionExpression(Expression expression, boolean isDistinct)
expression
- returning values to projectisDistinct
- true if distinctpublic ExpressionPrecedenceEnum getPrecedence()
Expression
public void toPrecedenceFreeEPL(StringWriter writer)
ExpressionBase
toPrecedenceFreeEPL
in class ExpressionBase
writer
- is the output to usepublic boolean isDistinct()
public void setDistinct(boolean distinct)
distinct
- true for distinct, false for not distinct