MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mysql.cluster.crund.JdbcLoad Class Reference
Inheritance diagram for com.mysql.cluster.crund.JdbcLoad:
Collaboration diagram for com.mysql.cluster.crund.JdbcLoad:

Classes

class  JdbcOp

Static Public Member Functions

static void main (String[] args)

Protected Member Functions

void initProperties ()
void printProperties ()
void initLoad () throws Exception
void closeLoad () throws Exception
void initOperations () throws SQLException
void closeOperations () throws SQLException
void initConnection () throws SQLException
void closeConnection () throws SQLException
void clearPersistenceContext ()
void clearData () throws SQLException
- Protected Member Functions inherited from com.mysql.cluster.crund.CrundDriver
void init () throws Exception
void close () throws Exception
void runTests () throws Exception
void runLoads () throws Exception
void runLoad () throws Exception
void runSeries (int nOps) throws Exception
void runLoad (int nOps) throws Exception
void runSequence (int nOps) throws Exception
void runOperation (Op op, int nOps) throws Exception
void appendError (String where)
void reportErrors ()
final void verify (String where, int exp, int act)
void initConnections () throws Exception
void closeConnections () throws Exception
- Protected Member Functions inherited from com.mysql.cluster.crund.Driver
boolean parseBoolean (String k, boolean vdefault)
int parseInt (String k, int vdefault)
void writeProperties (String fileName)
void clearLogBuffers ()
void writeLogBuffers (String descr)
void begin (String name)
void finish (String name)

Static Protected Member Functions

static void setCommonAttributes (PreparedStatement stmt, int i) throws SQLException
static int getCommonAttributes (ResultSet rs) throws SQLException
- Static Protected Member Functions inherited from com.mysql.cluster.crund.CrundDriver
static final void verify (boolean cond)
static final void verify (int exp, int act)
static final void verify (String exp, String act)
static final String myString (int n)
static final byte[] myBytes (String s)
- Static Protected Member Functions inherited from com.mysql.cluster.crund.Driver
static void exitUsage ()
static void loadSystemLibrary (String name)

Protected Attributes

String driver
String url
String user
String password
Connection conn
PreparedStatement delAllA
PreparedStatement delAllB0
- Protected Attributes inherited from com.mysql.cluster.crund.CrundDriver
final EnumSet< XMode > xMode = EnumSet.noneOf(XMode.class)
boolean renewConnection
boolean renewOperations
boolean logSumOfOps
boolean allowExtendedPC
int nOpsStart
int nOpsEnd
int nOpsScale
int maxVarbinaryBytes
int maxVarcharChars
int maxBlobBytes
int maxTextChars
final Set< Stringexclude = new HashSet<String>()
final Set< Stringinclude = new HashSet<String>()
String operationName
StringBuilder errorBuffer
boolean failOnError
final List< Opops = new ArrayList<Op>()
- Protected Attributes inherited from com.mysql.cluster.crund.Driver
final Properties props = new Properties()
boolean logRealTime
boolean logMemUsage
boolean includeFullGC
int nRuns
PrintWriter log
String descr = ""
boolean logHeader
StringBuilder header
StringBuilder rtimes
StringBuilder musage
long t0 = 0
long m0 = 0

Additional Inherited Members

- Public Member Functions inherited from com.mysql.cluster.crund.Driver
 Driver ()
void run ()
- Static Protected Attributes inherited from com.mysql.cluster.crund.CrundDriver
static final String string1 = myString(1)
static final String string2 = myString(2)
static final String string3 = myString(3)
static final String string4 = myString(4)
static final String string5 = myString(5)
static final String string6 = myString(6)
static final String string7 = myString(7)
static final byte[] bytes1 = myBytes(string1)
static final byte[] bytes2 = myBytes(string2)
static final byte[] bytes3 = myBytes(string3)
static final byte[] bytes4 = myBytes(string4)
static final byte[] bytes5 = myBytes(string5)
static final byte[] bytes6 = myBytes(string6)
static final byte[] bytes7 = myBytes(string7)
static final String[] strings = { string1, string2, string3, string4, string5, string6, string7 }
static final byte[][] bytes = { bytes1, bytes2, bytes3, bytes4, bytes5, bytes6, bytes7 }

Detailed Description

A benchmark implementation against a JDBC/SQL database.

Definition at line 35 of file JdbcLoad.java.


The documentation for this class was generated from the following file: