com.caucho.amber.expr.fun
Class TrimFunExpr
java.lang.Object
com.caucho.amber.expr.AbstractAmberExpr
com.caucho.amber.expr.fun.FunExpr
com.caucho.amber.expr.fun.TrimFunExpr
- All Implemented Interfaces:
- AmberExpr
public class TrimFunExpr
- extends FunExpr
TRIM function expression
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 |
TrimFunExpr
protected TrimFunExpr(QueryParser parser,
java.util.ArrayList<AmberExpr> args)
- Creates a new expression
create
public static TrimFunExpr create(QueryParser parser,
java.util.ArrayList<AmberExpr> args)
setTrimChar
public void setTrimChar(AmberExpr trimChar)
- Sets the trim character.
setTrimSemantics
public void setTrimSemantics(TrimFunExpr.TrimSemantics trimSemantics)
- Sets the trim semantics.
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