Class DerbySQLFunction
- java.lang.Object
-
- org.datanucleus.store.rdbms.adapter.DerbySQLFunction
-
public class DerbySQLFunction extends java.lang.Object
Java Functions that are called by the database
-
-
Constructor Summary
Constructors Modifier Constructor Description private
DerbySQLFunction()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
ascii(java.lang.String code)
ASCII code.static int
matches(java.lang.String text, java.lang.String pattern)
Matches code.
-
-
-
Method Detail
-
ascii
public static int ascii(java.lang.String code)
ASCII code.- Parameters:
code
- The code- Returns:
- The ascii character
-
matches
public static int matches(java.lang.String text, java.lang.String pattern)
Matches code.- Parameters:
text
- The textpattern
- the pattern- Returns:
- 1 if true according to String.matches rules, 0 otherwise
-
-