|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.client.soda.ExpressionBase
com.espertech.esper.client.soda.PlugInProjectionExpression
public class PlugInProjectionExpression
Represents a plug-in aggregation function.
Constructor Summary | |
---|---|
PlugInProjectionExpression(String functionName,
boolean isDistinct)
Ctor. |
|
PlugInProjectionExpression(String functionName,
boolean isDistinct,
Expression expression)
Ctor. |
Method Summary | |
---|---|
String |
getFunctionName()
Returns the function name. |
boolean |
isDistinct()
Returns true for distinct. |
void |
setDistinct(boolean distinct)
Set to true for distinct. |
void |
setFunctionName(String functionName)
Sets the function name. |
void |
toEPL(StringWriter writer)
Renders the clause in textual representation. |
Methods inherited from class com.espertech.esper.client.soda.ExpressionBase |
---|
addChild, getChildren |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlugInProjectionExpression(String functionName, boolean isDistinct)
functionName
- the name of the functionisDistinct
- true for distinctpublic PlugInProjectionExpression(String functionName, boolean isDistinct, Expression expression)
functionName
- the name of the functionisDistinct
- true for distinctexpression
- provides aggregated valuesMethod Detail |
---|
public void toEPL(StringWriter writer)
writer
- to output topublic String getFunctionName()
public void setFunctionName(String functionName)
functionName
- name of functionpublic boolean isDistinct()
public void setDistinct(boolean distinct)
distinct
- indicating distinct or not
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |