org.objectweb.medor.filter.lib
Class Min

java.lang.Object
  extended byBasicUnaryOperator
      extended byorg.objectweb.medor.filter.lib.BasicAggregateOperator
          extended byorg.objectweb.medor.filter.lib.Min
All Implemented Interfaces:
AggregateOperator

public class Min
extends BasicAggregateOperator

Min aggregate function.

Min applies to :

  1. a FieldOperand, which is part of a NestedField.
  2. a Collection of values (TupleCollection), specifying which Field is to be aggregated
  3. a Collection of values (Java Collection)

Author:
Alexandre Lefebvre
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.medor.filter.lib.BasicAggregateOperator
distinct
 
Constructor Summary
Min(Expression e)
           
Min(Expression e, boolean distinct)
           
 
Method Summary
 Operand compileExpression()
           
 Operand evaluate(ParameterOperand[] pos, java.lang.Object o)
           
 java.lang.String getOperatorString()
           
 
Methods inherited from class org.objectweb.medor.filter.lib.BasicAggregateOperator
clone, getDistinct, setDistinct
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Min

public Min(Expression e)

Min

public Min(Expression e,
           boolean distinct)
Method Detail

getOperatorString

public java.lang.String getOperatorString()

compileExpression

public Operand compileExpression()
                          throws ExpressionException,
                                 MalformedExpressionException
Throws:
ExpressionException
MalformedExpressionException

evaluate

public Operand evaluate(ParameterOperand[] pos,
                        java.lang.Object o)
                 throws ExpressionException
Throws:
ExpressionException