com.caucho.amber.expr.fun
Class MaxFunExpr

java.lang.Object
  extended by com.caucho.amber.expr.AbstractAmberExpr
      extended by com.caucho.amber.expr.fun.FunExpr
          extended by com.caucho.amber.expr.fun.MaxFunExpr
All Implemented Interfaces:
AmberExpr

public class MaxFunExpr
extends FunExpr

MAX() function expression


Field Summary
 
Fields inherited from interface com.caucho.amber.expr.AmberExpr
IS_INNER_JOIN, USES_DATA
 
Constructor Summary
protected MaxFunExpr(QueryParser parser, java.lang.String id, java.util.ArrayList<AmberExpr> args, boolean distinct)
          Creates a new function expression
 
Method Summary
static MaxFunExpr create(QueryParser parser, java.lang.String id, java.util.ArrayList<AmberExpr> args, boolean distinct)
           
 AmberType getType()
          Returns the expr type.
 
Methods inherited from class com.caucho.amber.expr.fun.FunExpr
bindSelect, generateHaving, generateUpdateWhere, generateWhere, getArgs, getObject, toString, usesFrom
 
Methods inherited from class com.caucho.amber.expr.AbstractAmberExpr
createBoolean, exists, exists, findItem, generateJoin, generateSelect, getCacheObject, getColumnCount, hasRelationship, isBoolean, replaceJoin, setInternalArgType, usesFrom
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MaxFunExpr

protected MaxFunExpr(QueryParser parser,
                     java.lang.String id,
                     java.util.ArrayList<AmberExpr> args,
                     boolean distinct)
Creates a new function expression

Method Detail

create

public static MaxFunExpr create(QueryParser parser,
                                java.lang.String id,
                                java.util.ArrayList<AmberExpr> args,
                                boolean distinct)

getType

public AmberType getType()
Returns the expr type.

Specified by:
getType in interface AmberExpr
Overrides:
getType in class FunExpr