public class PlugInProjectionExpression extends ExpressionBase
Constructor and Description |
---|
PlugInProjectionExpression()
Ctor.
|
PlugInProjectionExpression(String functionName,
boolean isDistinct)
Ctor.
|
PlugInProjectionExpression(String functionName,
boolean isDistinct,
Expression... moreExpressions)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
String |
getFunctionName()
Returns the function name.
|
ExpressionPrecedenceEnum |
getPrecedence()
Returns precedence.
|
boolean |
isDistinct()
Returns true for distinct.
|
void |
setDistinct(boolean distinct)
Set to true for distinct.
|
void |
setFunctionName(String functionName)
Sets the function name.
|
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 PlugInProjectionExpression()
public PlugInProjectionExpression(String functionName, boolean isDistinct)
functionName
- the name of the functionisDistinct
- true for distinctpublic PlugInProjectionExpression(String functionName, boolean isDistinct, Expression... moreExpressions)
functionName
- the name of the functionisDistinct
- true for distinctmoreExpressions
- provides aggregated valuespublic ExpressionPrecedenceEnum getPrecedence()
Expression
public void toPrecedenceFreeEPL(StringWriter writer)
ExpressionBase
toPrecedenceFreeEPL
in class ExpressionBase
writer
- is the output to usepublic String getFunctionName()
public void setFunctionName(String functionName)
functionName
- name of functionpublic boolean isDistinct()
public void setDistinct(boolean distinct)
distinct
- indicating distinct or not