com.caucho.amber.expr.fun
Class DateTimeFunExpr

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.DateTimeFunExpr
All Implemented Interfaces:
AmberExpr
Direct Known Subclasses:
CurrentDateFunExpr, CurrentTimeFunExpr, CurrentTimestampFunExpr

public abstract class DateTimeFunExpr
extends FunExpr

Base for CURRENT_DATE/TIME/TIMESTAMP function expression


Field Summary
 
Fields inherited from interface com.caucho.amber.expr.AmberExpr
IS_INNER_JOIN, USES_DATA
 
Constructor Summary
protected DateTimeFunExpr(QueryParser parser, java.lang.String id, java.util.ArrayList<AmberExpr> args, boolean distinct)
          Creates a new expression
 
Method Summary
 
Methods inherited from class com.caucho.amber.expr.fun.FunExpr
bindSelect, create, generateHaving, generateUpdateWhere, generateWhere, getArgs, getObject, getType, 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

DateTimeFunExpr

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