jxDBCon 0.9z

org.sourceforge.jxdbcon
Class EscapeFuncs.locate

java.lang.Object
  |
  +--org.sourceforge.jxdbcon.EscapeFrags.Frag
        |
        +--org.sourceforge.jxdbcon.EscapeFrags.Function
              |
              +--org.sourceforge.jxdbcon.EscapeFuncs.NoFunction
                    |
                    +--org.sourceforge.jxdbcon.EscapeFuncs.locate
Direct Known Subclasses:
PGEscapeFuncs.pglocate
Enclosing class:
EscapeFuncs

public static class EscapeFuncs.locate
extends EscapeFuncs.NoFunction

LOCATE(string1, string2[, start]) Position in string2 of the first occurrence of string1, searching from the beginning of string2; if start is specified, the search begins from position start. Returns 0 if string2 does not contain string1. Position 1 is the first character in string2.


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

Constructor Detail

EscapeFuncs.locate

public EscapeFuncs.locate(EscapeFrags.ParamList param)

EscapeFuncs.locate

protected EscapeFuncs.locate(String name,
                             EscapeFrags.ParamList param)
Method Detail

emitSQL

protected String emitSQL(EscapeContext ectx)
                  throws SQLException
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.