org.apache.derbyTesting.system.sttest.utils
Class Datatypes
java.lang.Object
org.apache.derbyTesting.system.sttest.utils.Datatypes
public class Datatypes
- extends java.lang.Object
This class is used to insert, delete and updated the rows
|
Method Summary |
static void |
add_one_row(java.sql.Connection conn,
int thread_id)
|
static void |
delete_one_row(java.sql.Connection conn,
int thread_id)
|
static int |
delete_some(java.sql.Connection conn,
int thread_id,
int quantity)
|
static int |
get_table_count(java.sql.Connection conn)
|
static int[] |
pick_some(java.sql.Connection conn,
int thread_id,
int quantity)
|
static void |
update_one_row(java.sql.Connection conn,
int thread_id)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TCHAR
public static final int TCHAR
- See Also:
- Constant Field Values
TBLOB
public static final int TBLOB
- See Also:
- Constant Field Values
TCLOB
public static final int TCLOB
- See Also:
- Constant Field Values
TDATE
public static final int TDATE
- See Also:
- Constant Field Values
TDECIMAL
public static final int TDECIMAL
- See Also:
- Constant Field Values
TDECIMALNN
public static final int TDECIMALNN
- See Also:
- Constant Field Values
TDOUBLE
public static final int TDOUBLE
- See Also:
- Constant Field Values
TFLOAT
public static final int TFLOAT
- See Also:
- Constant Field Values
TINT
public static final int TINT
- See Also:
- Constant Field Values
TLONGINT
public static final int TLONGINT
- See Also:
- Constant Field Values
TNUMERICLARGE
public static final int TNUMERICLARGE
- See Also:
- Constant Field Values
TREAL
public static final int TREAL
- See Also:
- Constant Field Values
TSMALLINT
public static final int TSMALLINT
- See Also:
- Constant Field Values
TTIME
public static final int TTIME
- See Also:
- Constant Field Values
TTIMESTAMP
public static final int TTIMESTAMP
- See Also:
- Constant Field Values
TVARCHAR
public static final int TVARCHAR
- See Also:
- Constant Field Values
NUMTYPES
public static final int NUMTYPES
- See Also:
- Constant Field Values
Rn
public static java.util.Random Rn
colnames
public static java.lang.String[] colnames
Datatypes
public Datatypes()
add_one_row
public static void add_one_row(java.sql.Connection conn,
int thread_id)
throws java.lang.Exception
- Throws:
java.lang.Exception
delete_some
public static int delete_some(java.sql.Connection conn,
int thread_id,
int quantity)
throws java.lang.Exception
- Throws:
java.lang.Exception
pick_some
public static int[] pick_some(java.sql.Connection conn,
int thread_id,
int quantity)
throws java.lang.Exception
- Throws:
java.lang.Exception
delete_one_row
public static void delete_one_row(java.sql.Connection conn,
int thread_id)
throws java.lang.Exception
- Throws:
java.lang.Exception
update_one_row
public static void update_one_row(java.sql.Connection conn,
int thread_id)
throws java.lang.Exception
- Throws:
java.lang.Exception
get_table_count
public static int get_table_count(java.sql.Connection conn)
throws java.lang.Exception
- Throws:
java.lang.Exception
Apache Derby V10.6 Internals - Copyright © 2004,2008 The Apache Software Foundation. All Rights Reserved.