com.caucho.amber.expr.fun
Class MinFunExpr

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.MinFunExpr
All Implemented Interfaces:
AmberExpr

public class MinFunExpr
extends FunExpr

MIN() function expression


Field Summary
 
Fields inherited from interface com.caucho.amber.expr.AmberExpr
IS_INNER_JOIN, USES_DATA
 
Constructor Summary
protected MinFunExpr(QueryParser parser, java.lang.String id, java.util.ArrayList<AmberExpr> args, boolean distinct)
          Creates a new function expression
 
Method Summary
static MinFunExpr 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

MinFunExpr

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

Method Detail

create

public static MinFunExpr 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