org.objectweb.medor.filter.lib
Class BasicAggregateOperator

java.lang.Object
  |
  +--org.objectweb.medor.filter.lib.BasicUnaryOperator
        |
        +--org.objectweb.medor.filter.lib.BasicAggregateOperator
All Implemented Interfaces:
AggregateOperator, java.lang.Cloneable, Cloneable, Expression, Operator, UnaryOperator
Direct Known Subclasses:
Avg, Count, Max, Min, Sum

public abstract class BasicAggregateOperator
extends BasicUnaryOperator
implements AggregateOperator

Author:
Sebastien Chassande-Barrioz

Field Summary
protected  boolean distinct
           
 
Fields inherited from class org.objectweb.medor.filter.lib.BasicUnaryOperator
result, subResult, type
 
Fields inherited from interface org.objectweb.medor.filter.api.Operator
ABS, AND, AVG, BITWIZE, CONCAT, CONDAND, CONDOR, COUNT, DIV, EQUAL, FIRSTLOCATE, GREATER, GREATEREQUAL, IN, INDEXEDLOCATE, LENGTH, LOWER, LOWEREQUAL, MAX, MEMBEROF, MIN, MINUS, MOD, MULT, NAV, NOT, NOTEQUAL, NOTMEMBEROF, OR, PLUS, SQRT, SUBSTRING, SUM, UMINUS
 
Constructor Summary
BasicAggregateOperator()
           
 
Method Summary
 boolean getDistinct()
           
 void setDistinct(boolean distinct)
          Sets whether the aggregate operator should be
 
Methods inherited from class org.objectweb.medor.filter.lib.BasicUnaryOperator
clone, evaluate, getExpression, getExpression, getOperandNumber, getResult, getType, isCompiled, setExpression, setExpression
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.medor.filter.api.UnaryOperator
getExpression, setExpression
 
Methods inherited from interface org.objectweb.medor.filter.api.Operator
getExpression, getOperandNumber, getOperatorString, setExpression
 
Methods inherited from interface org.objectweb.medor.filter.api.Expression
compileExpression, evaluate, getResult, getType, isCompiled
 
Methods inherited from interface org.objectweb.medor.api.Cloneable
clone
 

Field Detail

distinct

protected boolean distinct
Constructor Detail

BasicAggregateOperator

public BasicAggregateOperator()
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