com.caucho.amber.expr.fun
Class CurrentTimeFunExpr

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
              extended by com.caucho.amber.expr.fun.CurrentTimeFunExpr
All Implemented Interfaces:
AmberExpr

public class CurrentTimeFunExpr
extends DateTimeFunExpr

CURRENT_TIME function expression


Field Summary
 
Fields inherited from interface com.caucho.amber.expr.AmberExpr
IS_INNER_JOIN, USES_DATA
 
Constructor Summary
protected CurrentTimeFunExpr(QueryParser parser)
          Creates a new expression
 
Method Summary
static FunExpr create(QueryParser parser)
           
 void generateUpdateWhere(CharBuffer cb)
          Generates the (update) where expression.
 void generateWhere(CharBuffer cb)
          Generates the where expression.
 AmberType getType()
          Returns the expr type.
 
Methods inherited from class com.caucho.amber.expr.fun.FunExpr
bindSelect, create, generateHaving, 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

CurrentTimeFunExpr

protected CurrentTimeFunExpr(QueryParser parser)
Creates a new expression

Method Detail

create

public static FunExpr create(QueryParser parser)

generateWhere

public void generateWhere(CharBuffer cb)
Generates the where expression.

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

generateUpdateWhere

public void generateUpdateWhere(CharBuffer cb)
Generates the (update) where expression.

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

getType

public AmberType getType()
Returns the expr type.

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