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.
EscapeFuncs.locate
public EscapeFuncs.locate(EscapeFrags.ParamList param)
EscapeFuncs.locate
protected EscapeFuncs.locate(String name,
EscapeFrags.ParamList param)
emitSQL
protected String emitSQL(EscapeContext ectx)
throws SQLException
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.