|
|||||||||
| Home >> All >> org >> [ hsqldb overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.hsqldb
Class Library

java.lang.Objectorg.hsqldb.Library
- class Library
- extends java.lang.Object
Class declaration
- Version:
- 1.7.0
| Field Summary | |
private static double |
LOG10_FACTOR
|
private static java.util.Random |
rRandom
|
(package private) static java.lang.String[][] |
sNumeric
|
private static int |
sql_month
|
private static boolean |
sql_month_set
|
(package private) static java.lang.String[][] |
sString
|
(package private) static java.lang.String[][] |
sSystem
|
(package private) static java.lang.String[][] |
sTimeDate
|
| Constructor Summary | |
(package private) |
Library()
|
| Method Summary | |
static double |
abs(double d)
Method declaration |
static java.lang.Integer |
ascii(java.lang.String s)
Method declaration |
static int |
bitand(int i,
int j)
Method declaration |
static int |
bitor(int i,
int j)
Method declaration |
static java.lang.String |
character(int code)
Method declaration |
static java.lang.String |
concat(java.lang.String s1,
java.lang.String s2)
Method declaration |
static double |
cot(double d)
Method declaration |
static java.sql.Date |
curdate()
Method declaration |
static java.sql.Time |
curtime()
Method declaration |
static java.lang.String |
database(java.sql.Connection conn)
Method declaration |
static java.lang.String |
dayname(java.sql.Date d)
Method declaration |
static int |
dayofmonth(java.sql.Date d)
Method declaration |
static int |
dayofweek(java.sql.Date d)
Method declaration |
static int |
dayofyear(java.sql.Date d)
Method declaration |
static int |
difference(java.lang.String s1,
java.lang.String s2)
Method declaration |
static boolean |
getAutoCommit(java.sql.Connection c)
|
private static int |
getDateTimePart(java.util.Date d,
int part)
Method declaration |
private static int |
getTimePart(java.sql.Time t,
int part)
Method declaration |
static java.lang.String |
hexToRaw(java.lang.String s)
Method declaration |
static int |
hour(java.sql.Time t)
Method declaration |
static int |
identity()
As of 1.7.1 this is a dummy function. |
static java.lang.String |
insert(java.lang.String s1,
int start,
int length,
java.lang.String s2)
Method declaration |
static java.lang.String |
lcase(java.lang.String s)
Method declaration |
static java.lang.String |
left(java.lang.String s,
int i)
Method declaration |
static java.lang.Integer |
length(java.lang.String s)
Method declaration |
static int |
locate(java.lang.String search,
java.lang.String s,
java.lang.Integer start)
Method declaration |
static double |
log10(double x)
Method declaration |
static java.lang.String |
ltrim(java.lang.String s)
Method declaration |
static int |
minute(java.sql.Time t)
Method declaration |
static int |
mod(int i1,
int i2)
Method declaration |
static int |
month(java.sql.Date d)
Method declaration |
static java.lang.String |
monthname(java.sql.Date d)
Method declaration |
static java.sql.Timestamp |
now()
Method declaration |
static double |
pi()
Method declaration |
static int |
quarter(java.sql.Date d)
Method declaration |
static double |
rand(java.lang.Integer i)
Method declaration |
static java.lang.String |
rawToHex(java.lang.String s)
Method declaration |
(package private) static void |
register(java.util.Hashtable h)
Method declaration |
private static void |
register(java.util.Hashtable h,
java.lang.String[][] s)
Method declaration |
static java.lang.String |
repeat(java.lang.String s,
java.lang.Integer count)
Method declaration |
static java.lang.String |
replace(java.lang.String s,
java.lang.String replace,
java.lang.String with)
Method declaration |
static java.lang.String |
right(java.lang.String s,
int i)
Method declaration |
static double |
round(double d,
int p)
Method declaration |
static double |
roundMagic(double d)
Method declaration |
static java.lang.String |
rtrim(java.lang.String s)
Method declaration |
static int |
second(java.sql.Time d)
Method declaration |
(package private) static void |
setSqlMonth(boolean value)
|
static int |
sign(double d)
Method declaration |
static java.lang.String |
soundex(java.lang.String s)
code was rewritten by fredt@users to comply with description at http://www.nara.gov/genealogy/coding.html non ASCCI characters in string are ignored |
static java.lang.String |
space(int i)
Method declaration |
static java.lang.String |
substring(java.lang.String s,
int start,
java.lang.Integer length)
Method declaration |
static double |
truncate(double d,
int p)
Method declaration |
static java.lang.String |
ucase(java.lang.String s)
Method declaration |
static java.lang.String |
user(java.sql.Connection conn)
Method declaration |
static int |
week(java.sql.Date d)
Method declaration |
static int |
year(java.sql.Date d)
Method declaration |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
sNumeric
static final java.lang.String[][] sNumeric
sString
static final java.lang.String[][] sString
sTimeDate
static final java.lang.String[][] sTimeDate
sSystem
static final java.lang.String[][] sSystem
rRandom
private static final java.util.Random rRandom
LOG10_FACTOR
private static final double LOG10_FACTOR
- See Also:
- Constant Field Values
sql_month
private static int sql_month
sql_month_set
private static boolean sql_month_set
| Constructor Detail |
Library
Library()
| Method Detail |
register
static void register(java.util.Hashtable h)
- Method declaration
register
private static void register(java.util.Hashtable h, java.lang.String[][] s)
- Method declaration
rand
public static double rand(java.lang.Integer i)
- Method declaration
abs
public static double abs(double d)
- Method declaration
log10
public static double log10(double x)
- Method declaration
roundMagic
public static double roundMagic(double d)
- Method declaration
cot
public static double cot(double d)
- Method declaration
mod
public static int mod(int i1,
int i2)
- Method declaration
pi
public static double pi()
- Method declaration
round
public static double round(double d,
int p)
- Method declaration
sign
public static int sign(double d)
- Method declaration
truncate
public static double truncate(double d,
int p)
- Method declaration
bitand
public static int bitand(int i,
int j)
- Method declaration
bitor
public static int bitor(int i,
int j)
- Method declaration
ascii
public static java.lang.Integer ascii(java.lang.String s)
- Method declaration
character
public static java.lang.String character(int code)
- Method declaration
concat
public static java.lang.String concat(java.lang.String s1, java.lang.String s2)
- Method declaration
difference
public static int difference(java.lang.String s1, java.lang.String s2)
- Method declaration
hexToRaw
public static java.lang.String hexToRaw(java.lang.String s)
- Method declaration
insert
public static java.lang.String insert(java.lang.String s1, int start, int length, java.lang.String s2)
- Method declaration
lcase
public static java.lang.String lcase(java.lang.String s)
- Method declaration
left
public static java.lang.String left(java.lang.String s, int i)
- Method declaration
length
public static java.lang.Integer length(java.lang.String s)
- Method declaration
locate
public static int locate(java.lang.String search, java.lang.String s, java.lang.Integer start)
- Method declaration
ltrim
public static java.lang.String ltrim(java.lang.String s)
- Method declaration
rawToHex
public static java.lang.String rawToHex(java.lang.String s)
- Method declaration
repeat
public static java.lang.String repeat(java.lang.String s, java.lang.Integer count)
- Method declaration
replace
public static java.lang.String replace(java.lang.String s, java.lang.String replace, java.lang.String with)
- Method declaration
right
public static java.lang.String right(java.lang.String s, int i)
- Method declaration
rtrim
public static java.lang.String rtrim(java.lang.String s)
- Method declaration
soundex
public static java.lang.String soundex(java.lang.String s)
- code was rewritten by fredt@users to comply with description at
http://www.nara.gov/genealogy/coding.html
non ASCCI characters in string are ignored
space
public static java.lang.String space(int i)
- Method declaration
substring
public static java.lang.String substring(java.lang.String s, int start, java.lang.Integer length)
- Method declaration
ucase
public static java.lang.String ucase(java.lang.String s)
- Method declaration
curdate
public static java.sql.Date curdate()
- Method declaration
curtime
public static java.sql.Time curtime()
- Method declaration
dayname
public static java.lang.String dayname(java.sql.Date d)
- Method declaration
getDateTimePart
private static int getDateTimePart(java.util.Date d, int part)
- Method declaration
getTimePart
private static int getTimePart(java.sql.Time t, int part)
- Method declaration
dayofmonth
public static int dayofmonth(java.sql.Date d)
- Method declaration
dayofweek
public static int dayofweek(java.sql.Date d)
- Method declaration
dayofyear
public static int dayofyear(java.sql.Date d)
- Method declaration
hour
public static int hour(java.sql.Time t)
- Method declaration
minute
public static int minute(java.sql.Time t)
- Method declaration
setSqlMonth
static void setSqlMonth(boolean value)
month
public static int month(java.sql.Date d)
- Method declaration
monthname
public static java.lang.String monthname(java.sql.Date d)
- Method declaration
now
public static java.sql.Timestamp now()
- Method declaration
quarter
public static int quarter(java.sql.Date d)
- Method declaration
second
public static int second(java.sql.Time d)
- Method declaration
week
public static int week(java.sql.Date d)
- Method declaration
year
public static int year(java.sql.Date d)
- Method declaration
database
public static java.lang.String database(java.sql.Connection conn) throws java.sql.SQLException
- Method declaration
user
public static java.lang.String user(java.sql.Connection conn) throws java.sql.SQLException
- Method declaration
identity
public static int identity()
throws java.sql.SQLException
- As of 1.7.1 this is a dummy function. The return value is supplied
by Function.java
getAutoCommit
public static boolean getAutoCommit(java.sql.Connection c)
|
|||||||||
| Home >> All >> org >> [ hsqldb overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.hsqldb.Library