jxDBCon 0.9z

org.sourceforge.jxdbcon
Class EscapeFuncs.sqrt

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

public static class EscapeFuncs.sqrt
extends EscapeFuncs.OneParamFunction

SQRT(float) Square root of float.


Field Summary
 
Fields inherited from class org.sourceforge.jxdbcon.EscapeFrags.Function
name, param, paramTypes, retType
 
Constructor Summary
EscapeFuncs.sqrt(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.sqrt

public EscapeFuncs.sqrt(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.