jxDBCon 0.9z

org.sourceforge.jxdbcon
Class EscapeFuncs.dayofyear

java.lang.Object
  |
  +--org.sourceforge.jxdbcon.EscapeFrags.Frag
        |
        +--org.sourceforge.jxdbcon.EscapeFrags.Function
              |
              +--org.sourceforge.jxdbcon.EscapeFuncs.OneParamFunction
                    |
                    +--org.sourceforge.jxdbcon.EscapeFuncs.dayofyear
Enclosing class:
EscapeFuncs

public static class EscapeFuncs.dayofyear
extends EscapeFuncs.OneParamFunction

DAYOFYEAR(date) An integer from 1 to 366 representing the day of the year in date.


Field Summary
 
Fields inherited from class org.sourceforge.jxdbcon.EscapeFrags.Function
name, param, paramTypes, retType
 
Constructor Summary
EscapeFuncs.dayofyear(EscapeFrags.ParamList param)
           
 
Method Summary
protected  String emitSQL(EscapeContext ectx)
           
protected  EscapeFrags.Constant evaluate(EscapeFrags.Value data, EscapeContext ectx)
           
 EscapeFrags.Frag simplify(EscapeContext ectx)
           
 String toSQL(EscapeContext ectx)
           
 
Methods inherited from class org.sourceforge.jxdbcon.EscapeFrags.Function
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EscapeFuncs.dayofyear

public EscapeFuncs.dayofyear(EscapeFrags.ParamList param)
Method Detail

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

jxDBCon 0.9z

Copyright © 2001,2002 Keve Müller; see LICENSE file for details.