org.objectweb.medor.filter.lib
Class BasicAggregateOperator

java.lang.Object
  extended byBasicUnaryOperator
      extended byorg.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
           
 
Constructor Summary
BasicAggregateOperator()
           
BasicAggregateOperator(Expression e)
           
BasicAggregateOperator(PType type, Expression e)
           
BasicAggregateOperator(PType type, Expression e, 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
 

Field Detail

distinct

protected boolean distinct
Constructor Detail

BasicAggregateOperator

public BasicAggregateOperator()

BasicAggregateOperator

public BasicAggregateOperator(Expression e)

BasicAggregateOperator

public BasicAggregateOperator(PType type,
                              Expression e)

BasicAggregateOperator

public BasicAggregateOperator(PType type,
                              Expression e,
                              boolean distinct)
Method Detail

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