butler.sql.function
Class Max

java.lang.Object
  extended by butler.sql.function.Max
All Implemented Interfaces:
AggregateFunction, CompareAggregateFunction, Function

public class Max
extends java.lang.Object
implements CompareAggregateFunction

max function.

Author:
Fredrik Bertilsson

Nested Class Summary
 
Nested classes/interfaces inherited from interface butler.sql.function.Function
Function.Call
 
Constructor Summary
Max()
           
 
Method Summary
 java.lang.Comparable calculate(java.util.Iterator i)
           
 java.lang.String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Max

public Max()
Method Detail

calculate

public java.lang.Comparable calculate(java.util.Iterator i)
                               throws java.lang.Exception
Specified by:
calculate in interface CompareAggregateFunction
Throws:
java.lang.Exception

getName

public java.lang.String getName()
Specified by:
getName in interface Function