Inheritance diagram for sosc::BatchTool:

Public Methods | |
| BatchTool (String prefix, String className, String url, String userName, String password) throws Exception | |
| BatchTool (String prefix, Connection connection) throws Exception | |
| String | getSchemaSQL (String dbType) throws Exception |
| void | dropSchema (String dbType) throws Exception |
| void | createSchema (String dbType) throws Exception |
| int | createProfile (String name) throws Exception |
| int | getProfileId (String name) throws Exception |
| int | createBatch (String profile) throws Exception |
| void | addIntContents (int batch, ResultSet r) throws Exception |
| void | addIntContents (String query) throws Exception |
| void | addVarcharContents (String query) throws Exception |
| void | addContentArguments () throws Exception |
| ResultSet | getContentArguments (int batchId) throws Exception |
| ResultSet | getBatchContents (int batch) throws Exception |
| ResultSet | batchSummary (int profileId) throws Exception |
Public Attributes | |
| String | CONTENTARGUMENTS = "_PREFIX__B_atchContentArguments" |
| String | CONTENTS = "_PREFIX__B_atchContents" |
| String | BATCHES = "_PREFIX__B_atches" |
| String | PROFILES = "_PREFIX__B_atchProfiles" |
Static Public Attributes | |
| final String | MSSQL |
Private Methods | |
| void | setPrefix (String prefix) throws Exception |
Private Attributes | |
| String | prefix = null |
|
||||||||||||||||||||||||
|
Definition at line 73 of file BatchTool.java. References sosc::BatchTool::prefix, and sosc::BatchTool::setPrefix(). |
|
||||||||||||
|
Definition at line 81 of file BatchTool.java. References sosc::DbTool::connection, sosc::BatchTool::prefix, and sosc::BatchTool::setPrefix(). |
|
|
Definition at line 243 of file BatchTool.java. |
|
|
Definition at line 227 of file BatchTool.java. References sosc::BatchTool::CONTENTS, sosc::DbTool::query(), and sosc::DbTool::update(). |
|
||||||||||||
|
Definition at line 186 of file BatchTool.java. References sosc::BatchTool::CONTENTARGUMENTS, sosc::BatchTool::CONTENTS, sosc::BatchTool::getBatchContents(), sosc::DbTool::quote(), sosc::DbTool::toMap(), and sosc::DbTool::update(). |
|
|
Definition at line 236 of file BatchTool.java. References sosc::BatchTool::CONTENTS, sosc::DbTool::query(), and sosc::DbTool::update(). |
|
|
Definition at line 314 of file BatchTool.java. References sosc::BatchTool::BATCHES, sosc::BatchTool::CONTENTS, and sosc::DbTool::query(). |
|
|
Definition at line 177 of file BatchTool.java. References sosc::BatchTool::BATCHES, sosc::DbTool::getInt(), sosc::BatchTool::getProfileId(), and sosc::DbTool::update(). |
|
|
Definition at line 144 of file BatchTool.java. References sosc::BatchTool::getProfileId(), sosc::BatchTool::PROFILES, sosc::DbTool::quote(), and sosc::DbTool::update(). |
|
|
Definition at line 137 of file BatchTool.java. References sosc::BatchTool::getSchemaSQL(), and sosc::DbTool::update(). |
|
|
Definition at line 119 of file BatchTool.java. References sosc::BatchTool::BATCHES, sosc::BatchTool::CONTENTARGUMENTS, sosc::BatchTool::CONTENTS, sosc::BatchTool::PROFILES, and sosc::DbTool::update(). |
|
|
Returns all of the batch contents. Entries that have been killed are not included. Definition at line 307 of file BatchTool.java. References sosc::BatchTool::CONTENTS, and sosc::DbTool::query(). Referenced by sosc::BatchTool::addIntContents(). |
|
|
Returns 1 row for each of the items that are in the specified batch. Each row has N columns, where N is the Any members of the batch that have been killed are suppressed (killed = 1) Definition at line 252 of file BatchTool.java. References sosc::BatchTool::CONTENTARGUMENTS, sosc::BatchTool::CONTENTS, sosc::DbTool::query(), and sosc::DbTool::rowCount(). |
|
|
Definition at line 166 of file BatchTool.java. References sosc::BatchTool::PROFILES, sosc::DbTool::query(), sosc::DbTool::quote(), and sosc::DbTool::rowCount(). Referenced by sosc::BatchTool::createBatch(), and sosc::BatchTool::createProfile(). |
|
|
Definition at line 104 of file BatchTool.java. References sosc::BatchTool::BATCHES, sosc::BatchTool::CONTENTARGUMENTS, sosc::BatchTool::CONTENTS, sosc::BatchTool::MSSQL, and sosc::BatchTool::PROFILES. Referenced by sosc::BatchTool::createSchema(). |
|
|
Definition at line 89 of file BatchTool.java. References sosc::BatchTool::BATCHES, sosc::BatchTool::CONTENTARGUMENTS, sosc::BatchTool::CONTENTS, sosc::BatchTool::prefix, and sosc::BatchTool::PROFILES. Referenced by sosc::BatchTool::BatchTool(). |
|
|
Definition at line 33 of file BatchTool.java. Referenced by sosc::BatchTool::batchSummary(), sosc::BatchTool::createBatch(), sosc::BatchTool::dropSchema(), sosc::BatchTool::getSchemaSQL(), and sosc::BatchTool::setPrefix(). |
|
|
Definition at line 31 of file BatchTool.java. Referenced by sosc::BatchTool::addIntContents(), sosc::BatchTool::dropSchema(), sosc::BatchTool::getContentArguments(), sosc::BatchTool::getSchemaSQL(), and sosc::BatchTool::setPrefix(). |
|
|
Definition at line 32 of file BatchTool.java. Referenced by sosc::BatchTool::addIntContents(), sosc::BatchTool::addVarcharContents(), sosc::BatchTool::batchSummary(), sosc::BatchTool::dropSchema(), sosc::BatchTool::getBatchContents(), sosc::BatchTool::getContentArguments(), sosc::BatchTool::getSchemaSQL(), and sosc::BatchTool::setPrefix(). |
|
|
Initial value:
" create table _PROFILES_ ( \n" +
" id int primary key identity, \n" +
" name varchar(100) \n" +
" ); \n" +
" create table _BATCHES_ ( \n" +
" id int primary key identity, \n" +
" profile int foreign key references _PROFILES_(id), \n" +
" created datetime default getdate(), \n" +
" status varchar(20) not null default 'review' \n" +
" ); \n" +
" create table _CONTENTS_ ( \n" +
" id int primary key identity, \n" +
" batch int foreign key references _BATCHES_(id), \n" +
" i int, \n" +
" v varchar(1000), \n" +
" killed bit default 0 \n" +
" ); \n" +
" create table _CONTENTARGUMENTS_ ( \n" +
" id int primary key identity, \n" +
" content int foreign key references _CONTENTS_(id), \n" +
" k varchar(100), \n" +
" v varchar(1000) \n" +
" ); \n"Definition at line 39 of file BatchTool.java. Referenced by sosc::BatchTool::getSchemaSQL(). |
|
|
Definition at line 68 of file BatchTool.java. Referenced by sosc::BatchTool::BatchTool(), and sosc::BatchTool::setPrefix(). |
|
|
Definition at line 34 of file BatchTool.java. Referenced by sosc::BatchTool::createProfile(), sosc::BatchTool::dropSchema(), sosc::BatchTool::getProfileId(), sosc::BatchTool::getSchemaSQL(), and sosc::BatchTool::setPrefix(). |
1.2.15