org.objectweb.medor.filter.lib
Class Max
java.lang.Object
BasicUnaryOperator
org.objectweb.medor.filter.lib.BasicAggregateOperator
org.objectweb.medor.filter.lib.Max
- All Implemented Interfaces:
- AggregateOperator
- public class Max
- extends BasicAggregateOperator
Max aggregate function.
Max applies to :
- a FieldOperand, which is part of a NestedField.
- a Collection of values (TupleCollection), specifying which Field
is to be aggregated
- a Collection of values (Java Collection)
- Author:
- Alexandre Lefebvre
- See Also:
- Serialized Form
Constructor Summary |
Max(Expression e)
|
Max(Expression e,
boolean distinct)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Max
public Max(Expression e)
Max
public Max(Expression e,
boolean distinct)
getOperatorString
public java.lang.String getOperatorString()
compileExpression
public Operand compileExpression()
throws ExpressionException,
MalformedExpressionException
- Throws:
ExpressionException
MalformedExpressionException
evaluate
public org.objectweb.medor.expression.api.Operand evaluate(ParameterOperand[] pos,
java.lang.Object o)
throws ExpressionException
- Throws:
ExpressionException