Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DerbySQLFunction

        private DerbySQLFunction()
    • 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 text
        pattern - the pattern
        Returns:
        1 if true according to String.matches rules, 0 otherwise