org.objectweb.medor.filter.lib
Class BasicAggregateOperator
java.lang.Object
BasicUnaryOperator
org.objectweb.medor.filter.lib.BasicAggregateOperator
- All Implemented Interfaces:
- AggregateOperator
- Direct Known Subclasses:
- Avg, Count, Max, Min, Sum
- public abstract class BasicAggregateOperator
- extends BasicUnaryOperator
- implements AggregateOperator
- Author:
- Sebastien Chassande-Barrioz
- See Also:
- Serialized Form
Field Summary |
protected boolean |
distinct
|
Method Summary |
java.lang.Object |
clone(java.lang.Object clone,
java.util.Map obj2clone)
|
boolean |
getDistinct()
|
void |
setDistinct(boolean distinct)
Sets whether the aggregate operator should be |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
distinct
protected boolean distinct
BasicAggregateOperator
public BasicAggregateOperator()
BasicAggregateOperator
public BasicAggregateOperator(Expression e)
BasicAggregateOperator
public BasicAggregateOperator(PType type,
Expression e)
BasicAggregateOperator
public BasicAggregateOperator(PType type,
Expression e,
boolean distinct)
setDistinct
public void setDistinct(boolean distinct)
- Description copied from interface:
AggregateOperator
- Sets whether the aggregate operator should be
- Specified by:
setDistinct
in interface AggregateOperator
- Parameters:
distinct
- the new value of the distinct operation
getDistinct
public boolean getDistinct()
- Specified by:
getDistinct
in interface AggregateOperator
clone
public java.lang.Object clone(java.lang.Object clone,
java.util.Map obj2clone)
throws java.lang.CloneNotSupportedException
- Throws:
java.lang.CloneNotSupportedException