org.sourceforge.jxdbcon
Class EscapeFuncs.dayofweek
java.lang.Object
|
+--org.sourceforge.jxdbcon.EscapeFrags.Frag
|
+--org.sourceforge.jxdbcon.EscapeFrags.Function
|
+--org.sourceforge.jxdbcon.EscapeFuncs.OneParamFunction
|
+--org.sourceforge.jxdbcon.EscapeFuncs.dayofweek
- Enclosing class:
- EscapeFuncs
- public static class EscapeFuncs.dayofweek
- extends EscapeFuncs.OneParamFunction
DAYOFWEEK(date) An integer from 1 to 7 representing the day of the week in date; 1 represents Sunday.
EscapeFuncs.dayofweek
public EscapeFuncs.dayofweek(EscapeFrags.ParamList param)
evaluate
protected EscapeFrags.Constant evaluate(EscapeFrags.Value data,
EscapeContext ectx)
throws SQLException
- Specified by:
evaluate
in class EscapeFuncs.OneParamFunction
SQLException
emitSQL
protected String emitSQL(EscapeContext ectx)
throws SQLException
SQLException
simplify
public EscapeFrags.Frag simplify(EscapeContext ectx)
throws SQLException
- Overrides:
simplify
in class EscapeFrags.Frag
SQLException
toSQL
public String toSQL(EscapeContext ectx)
throws SQLException
- Overrides:
toSQL
in class EscapeFrags.Function
SQLException
Copyright © 2001,2002 Keve Müller; see LICENSE file for details.