org.apache.derbyTesting.system.sttest.utils
Class Datatypes

java.lang.Object
  extended by 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


Field Summary
static java.lang.String[] colnames
           
static int NUMTYPES
           
static java.util.Random Rn
           
static int TBLOB
           
static int TCHAR
           
static int TCLOB
           
static int TDATE
           
static int TDECIMAL
           
static int TDECIMALNN
           
static int TDOUBLE
           
static int TFLOAT
           
static int TINT
           
static int TLONGINT
           
static int TNUMERICLARGE
           
static int TREAL
           
static int TSMALLINT
           
static int TTIME
           
static int TTIMESTAMP
           
static int TVARCHAR
           
 
Constructor Summary
Datatypes()
           
 
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
 

Field Detail

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
Constructor Detail

Datatypes

public Datatypes()
Method Detail

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

Built on Sat 2009-11-28 18:44:18-0800, from revision 885187

Apache Derby V10.6 Internals - Copyright © 2004,2008 The Apache Software Foundation. All Rights Reserved.