org.apache.openjpa.kernel.exps
Class Min
java.lang.Object
org.apache.openjpa.kernel.exps.Val
org.apache.openjpa.kernel.exps.AggregateVal
org.apache.openjpa.kernel.exps.Min
- All Implemented Interfaces:
- Serializable, Value
class Min
- extends AggregateVal
Find the min.
- Author:
- Abe White
Constructor Summary |
Min(Val val)
Constructor. |
Methods inherited from class org.apache.openjpa.kernel.exps.Val |
evaluate, evaluate, getAlias, getMetaData, getName, getPath, getSelectAs, isVariable, isXPath, setAlias, setMetaData |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Min
public Min(Val val)
- Constructor. Provide the value to minimize.
getType
protected Class getType(Class c)
- Description copied from class:
AggregateVal
- Return the type of this aggregate based on the value type.
- Specified by:
getType
in class AggregateVal
operate
protected Object operate(Collection os,
Class c)
- Description copied from class:
AggregateVal
- Aggregate the given values.
- Specified by:
operate
in class AggregateVal
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.