Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
N
P
R
S
T
V
A
abort()
- Method in class pl.kernelpanic.dbmonster.connection.
Transaction
Aborts the connection.
addColumn(Column)
- Method in class pl.kernelpanic.dbmonster.schema.
Table
Adds a column to the schema.
addItem(String)
- Method in class pl.kernelpanic.dbmonster.
Dictionary
Adds new item to this dictionary.
addSchema(Schema)
- Method in class pl.kernelpanic.dbmonster.
DBMonster
Adds a schema.
addTable(String)
- Method in class pl.kernelpanic.dbmonster.
SchemaGrabber
Adds a table names to the list of grabbed tables.
addTable(Table)
- Method in class pl.kernelpanic.dbmonster.schema.
Schema
Adds a table to the schema.
B
BasicDataGenerator
- class pl.kernelpanic.dbmonster.generator.
BasicDataGenerator
.
Basic generator, supertype for all data generators.
BasicDataGenerator()
- Constructor for class pl.kernelpanic.dbmonster.generator.
BasicDataGenerator
BooleanGenerator
- class pl.kernelpanic.dbmonster.generator.
BooleanGenerator
.
The generator which produces boolean values.
BooleanGenerator()
- Constructor for class pl.kernelpanic.dbmonster.generator.
BooleanGenerator
begin()
- Method in class pl.kernelpanic.dbmonster.connection.
Transaction
Starts the JDBC transaction.
C
CHARS
- Static variable in class pl.kernelpanic.dbmonster.generator.
StringKeyGenerator
Chars.
COLUMN
- Static variable in class pl.kernelpanic.dbmonster.schema.
SchemaUtil
Column key.
CONNECTION_PROVIDER_KEY
- Static variable in class pl.kernelpanic.dbmonster.
DBMonster
A key under the connection provider is stored in the DBMonsterContext.
CRLF
- Static variable in class pl.kernelpanic.dbmonster.schema.
SchemaUtil
System dependent line separator.
Column
- class pl.kernelpanic.dbmonster.schema.
Column
.
The column.
Column()
- Constructor for class pl.kernelpanic.dbmonster.schema.
Column
ColumnPredicate
- class pl.kernelpanic.dbmonster.schema.
ColumnPredicate
.
The column predicate which selects only that columns which are not database default.
ColumnPredicate()
- Constructor for class pl.kernelpanic.dbmonster.schema.
ColumnPredicate
ConnectionProvider
- interface pl.kernelpanic.dbmonster.connection.
ConnectionProvider
.
This interface provides an unified access to the JDBC connections.
ConstantGenerator
- class pl.kernelpanic.dbmonster.generator.
ConstantGenerator
.
The generator which produces boolean values.
ConstantGenerator()
- Constructor for class pl.kernelpanic.dbmonster.generator.
ConstantGenerator
Converter
- class pl.kernelpanic.dbmonster.util.
Converter
.
Converter.
checkNulls(int)
- Static method in class pl.kernelpanic.dbmonster.util.
Converter
Check whether nulls is in range of 0 <= nulls <= 100
close()
- Method in class pl.kernelpanic.dbmonster.connection.
Transaction
Closes the connection.
column
- Variable in class pl.kernelpanic.dbmonster.generator.
BasicDataGenerator
A reference to the column.
columnIterator()
- Method in class pl.kernelpanic.dbmonster.schema.
Table
Returns a column iterator.
commit()
- Method in class pl.kernelpanic.dbmonster.connection.
Transaction
Commits the transaction.
compareTo(Object)
- Method in class pl.kernelpanic.dbmonster.schema.
Column
compareTo(Object)
- Method in class pl.kernelpanic.dbmonster.schema.
Schema
compareTo(Object)
- Method in class pl.kernelpanic.dbmonster.schema.
Table
containsColumn(String)
- Method in class pl.kernelpanic.dbmonster.schema.
Table
D
DATA_GENERATOR
- Static variable in class pl.kernelpanic.dbmonster.schema.
SchemaUtil
Data generator key.
DATE
- Static variable in class pl.kernelpanic.dbmonster.generator.
DateTimeGenerator
Returned type should be date.
DATE_FORMAT
- Static variable in class pl.kernelpanic.dbmonster.generator.
DateTimeGenerator
Date format.
DBCPConnectionProvider
- class pl.kernelpanic.dbmonster.connection.
DBCPConnectionProvider
.
The connection provider which uses commons-dbcp.
DBCPConnectionProvider()
- Constructor for class pl.kernelpanic.dbmonster.connection.
DBCPConnectionProvider
Creates new SimpleConnectionProvider.
DBCPConnectionProvider(String, String, String, String)
- Constructor for class pl.kernelpanic.dbmonster.connection.
DBCPConnectionProvider
Creates new DBCPConnectionProvider with given connection info.
DBCPConnectionProvider(String, String, Properties)
- Constructor for class pl.kernelpanic.dbmonster.connection.
DBCPConnectionProvider
Creates new DBCPConnectionProvider with properties (usefull for interbase).
DBMonster
- class pl.kernelpanic.dbmonster.
DBMonster
.
DBMonster is a test data generation tool for SQL databases.
DBMonster()
- Constructor for class pl.kernelpanic.dbmonster.
DBMonster
DBMonsterContext
- class pl.kernelpanic.dbmonster.
DBMonsterContext
.
Context.
DBMonsterContext()
- Constructor for class pl.kernelpanic.dbmonster.
DBMonsterContext
DEFAULT_VALUE
- Static variable in class pl.kernelpanic.dbmonster.generator.
StringKeyGenerator
Default value.
DICTIONARY_MANAGER_KEY
- Static variable in class pl.kernelpanic.dbmonster.
DBMonster
A key under the dictionaries manager is stored in context.
DOUBLE
- Static variable in class pl.kernelpanic.dbmonster.generator.
NumberGenerator
Result should be double.
DTD
- Static variable in class pl.kernelpanic.dbmonster.schema.
SchemaUtil
DTD identifier.
DTD_URL
- Static variable in class pl.kernelpanic.dbmonster.schema.
SchemaUtil
DTD url.
DataGenerator
- interface pl.kernelpanic.dbmonster.generator.
DataGenerator
.
The interface which every data generator must implement.
DateTimeGenerator
- class pl.kernelpanic.dbmonster.generator.
DateTimeGenerator
.
The generator which prouces dates.
DateTimeGenerator()
- Constructor for class pl.kernelpanic.dbmonster.generator.
DateTimeGenerator
Dictionary
- class pl.kernelpanic.dbmonster.
Dictionary
.
Dictionary.
Dictionary()
- Constructor for class pl.kernelpanic.dbmonster.
Dictionary
DictionaryGenerator
- class pl.kernelpanic.dbmonster.generator.
DictionaryGenerator
.
The dictionary generator uses external dictionary as the source of test data.
DictionaryGenerator()
- Constructor for class pl.kernelpanic.dbmonster.generator.
DictionaryGenerator
DictionaryManager
- class pl.kernelpanic.dbmonster.
DictionaryManager
.
Dictionary Manager.
DictionaryManager()
- Constructor for class pl.kernelpanic.dbmonster.
DictionaryManager
doTheJob()
- Method in class pl.kernelpanic.dbmonster.
DBMonster
Does the job. ;) Before calling this method ensure that: Connection provider is set.
doTheJob()
- Method in class pl.kernelpanic.dbmonster.
SchemaGrabber
Starts schema grabber.
E
ExtendedTypes
- class pl.kernelpanic.dbmonster.sql.
ExtendedTypes
.
This class is used to give support to extended types specific for each JDBC driver.
evaluate(Object)
- Method in class pl.kernelpanic.dbmonster.schema.
ColumnPredicate
Evaluates the predicate.
execute()
- Method in class pl.kernelpanic.dbmonster.connection.
Transaction
Executes a prepared statement.
executeQuery(String)
- Method in class pl.kernelpanic.dbmonster.connection.
Transaction
Executes query.
F
FLOAT
- Static variable in class pl.kernelpanic.dbmonster.generator.
NumberGenerator
Result should be float.
ForeignKeyGenerator
- class pl.kernelpanic.dbmonster.generator.
ForeignKeyGenerator
.
Foreign key generator.
ForeignKeyGenerator()
- Constructor for class pl.kernelpanic.dbmonster.generator.
ForeignKeyGenerator
findColumn(String)
- Method in class pl.kernelpanic.dbmonster.schema.
Table
findTable(String)
- Method in class pl.kernelpanic.dbmonster.schema.
Schema
Returns a table of given name.
formatTime(long)
- Static method in class pl.kernelpanic.dbmonster.util.
Converter
Formats the period.
G
generate()
- Method in class pl.kernelpanic.dbmonster.generator.
BooleanGenerator
Generates boolean value.
generate()
- Method in class pl.kernelpanic.dbmonster.generator.
ConstantGenerator
Generates boolean value.
generate()
- Method in interface pl.kernelpanic.dbmonster.generator.
DataGenerator
Generates a value.
generate()
- Method in class pl.kernelpanic.dbmonster.generator.
DateTimeGenerator
Generates random date or time.
generate()
- Method in class pl.kernelpanic.dbmonster.generator.
DictionaryGenerator
Generates the value using a dictionary.
generate()
- Method in class pl.kernelpanic.dbmonster.generator.
ForeignKeyGenerator
Generates a value using foreign key.
generate()
- Method in interface pl.kernelpanic.dbmonster.generator.
KeyGenerator
Generates a primary key.
generate()
- Method in class pl.kernelpanic.dbmonster.generator.
MaxKeyGenerator
Generates a primary key.
generate()
- Method in class pl.kernelpanic.dbmonster.generator.
NullGenerator
Generates random null. ;)
generate()
- Method in class pl.kernelpanic.dbmonster.generator.
NumberGenerator
Generates random number.
generate()
- Method in class pl.kernelpanic.dbmonster.generator.
StringGenerator
Generates random string.
generate()
- Method in class pl.kernelpanic.dbmonster.generator.
StringKeyGenerator
Generates a primary key.
generate()
- Method in class pl.kernelpanic.dbmonster.schema.
Column
Generates this column.
generate()
- Method in class pl.kernelpanic.dbmonster.schema.
Key
Generates the key.
generate()
- Method in class pl.kernelpanic.dbmonster.schema.
Schema
Generates the schema.
generate()
- Method in class pl.kernelpanic.dbmonster.schema.
Table
Generates the table.
getAllowSpaces()
- Method in class pl.kernelpanic.dbmonster.generator.
StringGenerator
Return allowSpaces parameter.
getColumn()
- Method in class pl.kernelpanic.dbmonster.generator.
BasicDataGenerator
getColumnName()
- Method in class pl.kernelpanic.dbmonster.generator.
ForeignKeyGenerator
Returns column name.
getColumnName()
- Method in class pl.kernelpanic.dbmonster.generator.
MaxKeyGenerator
Returns a column name.
getColumnName()
- Method in class pl.kernelpanic.dbmonster.generator.
StringKeyGenerator
Returns a column name.
getColumns()
- Method in interface pl.kernelpanic.dbmonster.generator.
KeyGenerator
Returns columns.
getColumns()
- Method in class pl.kernelpanic.dbmonster.generator.
MaxKeyGenerator
Returns columns.
getColumns()
- Method in class pl.kernelpanic.dbmonster.generator.
StringKeyGenerator
Returns columns.
getColumns()
- Method in class pl.kernelpanic.dbmonster.schema.
Table
Returns list of columns.
getConnection()
- Method in interface pl.kernelpanic.dbmonster.connection.
ConnectionProvider
Returns a JDBC connection.
getConnection()
- Method in class pl.kernelpanic.dbmonster.connection.
DBCPConnectionProvider
getConnection()
- Method in class pl.kernelpanic.dbmonster.connection.
SimpleConnectionProvider
getConnectionProvider()
- Method in class pl.kernelpanic.dbmonster.
DBMonster
Returns a connection provider used by this instance.
getConnectionProvider()
- Method in class pl.kernelpanic.dbmonster.
SchemaGrabber
Returns a connection provider used by the grabber.
getConstant()
- Method in class pl.kernelpanic.dbmonster.generator.
ConstantGenerator
getDatabaseDefault()
- Method in class pl.kernelpanic.dbmonster.schema.
Column
Returns true if this column should not be included in INSERT query allowing the database to put the default value for this column.
getDatabaseDefault()
- Method in class pl.kernelpanic.dbmonster.schema.
Key
Returns true if this key should not be included in INSERT query allowing the database to put the default value for this column(s).
getDictFile()
- Method in class pl.kernelpanic.dbmonster.generator.
DictionaryGenerator
Returns the dictionary name.
getDictionary(String, String)
- Method in class pl.kernelpanic.dbmonster.
DictionaryManager
Returns a dictionary.
getDictionary(URL)
- Method in class pl.kernelpanic.dbmonster.
DictionaryManager
Loads a dictionary using specified url.
getEndDate()
- Method in class pl.kernelpanic.dbmonster.generator.
DateTimeGenerator
Returns the end date.
getExcludeChars()
- Method in class pl.kernelpanic.dbmonster.generator.
StringGenerator
Returns an exclude chars.
getFastMode()
- Method in class pl.kernelpanic.dbmonster.generator.
ForeignKeyGenerator
Returns fast mode parameter.
getGenerator()
- Method in class pl.kernelpanic.dbmonster.schema.
Column
Returns a data generator.
getGenerator()
- Method in class pl.kernelpanic.dbmonster.schema.
Key
Returns a generator.
getHome()
- Method in class pl.kernelpanic.dbmonster.schema.
Schema
Returns the directory where the schema is located.
getInstance()
- Static method in class pl.kernelpanic.dbmonster.sql.
ExtendedTypes
Returns ExtendedTypes instance.
getKey()
- Method in interface pl.kernelpanic.dbmonster.generator.
KeyGenerator
Returns the key
getKey()
- Method in class pl.kernelpanic.dbmonster.generator.
MaxKeyGenerator
getKey()
- Method in class pl.kernelpanic.dbmonster.generator.
StringKeyGenerator
getKey()
- Method in class pl.kernelpanic.dbmonster.schema.
Table
Returns a key.
getLog()
- Method in class pl.kernelpanic.dbmonster.
SchemaGrabber
Returns the logger.
getLogger()
- Method in class pl.kernelpanic.dbmonster.
DBMonster
Returns logger.
getMaxLength()
- Method in class pl.kernelpanic.dbmonster.generator.
StringGenerator
Returns the maximal length of the string.
getMaxValue()
- Method in class pl.kernelpanic.dbmonster.generator.
NumberGenerator
Returns maximal value.
getMinLength()
- Method in class pl.kernelpanic.dbmonster.generator.
StringGenerator
Returns the minimal length of the string.
getMinValue()
- Method in class pl.kernelpanic.dbmonster.generator.
NumberGenerator
Returns minimal value.
getName()
- Method in class pl.kernelpanic.dbmonster.
Dictionary
Returns the name of this dictionary.
getName()
- Method in class pl.kernelpanic.dbmonster.schema.
Column
Returns the name of the column.
getName()
- Method in class pl.kernelpanic.dbmonster.schema.
Schema
Returns the name of the schema.
getName()
- Method in class pl.kernelpanic.dbmonster.schema.
Table
Returns the name of the table.
getNextRandomItem()
- Method in class pl.kernelpanic.dbmonster.
Dictionary
Returns next random object.
getNextUniqueItem()
- Method in class pl.kernelpanic.dbmonster.
Dictionary
Returns next unique object.
getNulls()
- Method in class pl.kernelpanic.dbmonster.generator.
BasicDataGenerator
Returns nulls.
getOutput()
- Method in class pl.kernelpanic.dbmonster.
SchemaGrabber
Returns the output stream where the serialized schema should be pushed.
getProbability()
- Method in class pl.kernelpanic.dbmonster.generator.
BooleanGenerator
Returns the probability.
getProgressMonitor()
- Method in class pl.kernelpanic.dbmonster.
DBMonster
Returns the progress monitor.
getProperties(Object)
- Static method in class pl.kernelpanic.dbmonster.schema.
SchemaUtil
Returns object's properties.
getProperty(String)
- Method in class pl.kernelpanic.dbmonster.
DBMonsterContext
Returns a context property.
getReturnedType()
- Method in class pl.kernelpanic.dbmonster.generator.
DateTimeGenerator
Returns type.
getReturnedType()
- Method in class pl.kernelpanic.dbmonster.generator.
NumberGenerator
Returns type.
getRows()
- Method in class pl.kernelpanic.dbmonster.schema.
Table
Returns the number of rows we want to generate for this table.
getScale()
- Method in class pl.kernelpanic.dbmonster.generator.
NumberGenerator
Returns scale.
getSchema()
- Method in class pl.kernelpanic.dbmonster.schema.
Table
Returns schema.
getStandardAlias(String, int)
- Method in class pl.kernelpanic.dbmonster.sql.
ExtendedTypes
Returns standard alias for given extended type.
getStartDate()
- Method in class pl.kernelpanic.dbmonster.generator.
DateTimeGenerator
Returns start Date.
getStartValue()
- Method in class pl.kernelpanic.dbmonster.generator.
StringKeyGenerator
Returns the start value.
getTable()
- Method in class pl.kernelpanic.dbmonster.schema.
Column
Returns a table.
getTable()
- Method in class pl.kernelpanic.dbmonster.schema.
Key
Returns a table.
getTableName()
- Method in class pl.kernelpanic.dbmonster.generator.
ForeignKeyGenerator
Returns table name.
getTableNames()
- Method in class pl.kernelpanic.dbmonster.
SchemaGrabber
Returns names of the tables in the database.
getTables()
- Method in class pl.kernelpanic.dbmonster.schema.
Schema
Returns tables.
getTargetType()
- Method in class pl.kernelpanic.dbmonster.schema.
Column
getTypeMap(String)
- Method in class pl.kernelpanic.dbmonster.sql.
ExtendedTypes
Returns type map.
getUnique()
- Method in class pl.kernelpanic.dbmonster.generator.
DictionaryGenerator
Returns the unique parameter.
getValue()
- Method in class pl.kernelpanic.dbmonster.schema.
Column
Returns the value.
getVersion()
- Static method in class pl.kernelpanic.dbmonster.
DBMonster
Returns the version.
grabSchema()
- Method in class pl.kernelpanic.dbmonster.
SchemaGrabber
Grabs the schema.
grabTable(String)
- Method in class pl.kernelpanic.dbmonster.
SchemaGrabber
Grabs the table.
H
hasNext()
- Method in class pl.kernelpanic.dbmonster.util.
ScriptReaderIterator
I
INTEGER
- Static variable in class pl.kernelpanic.dbmonster.generator.
NumberGenerator
Result should be integer.
Initializable
- interface pl.kernelpanic.dbmonster.generator.
Initializable
.
The interface which may be used if generator needs to be initialized with DBMonsterContext.
initialize(DBMonsterContext)
- Method in class pl.kernelpanic.dbmonster.generator.
BooleanGenerator
initialize(DBMonsterContext)
- Method in class pl.kernelpanic.dbmonster.generator.
DateTimeGenerator
Initializes the generator.
initialize(DBMonsterContext)
- Method in class pl.kernelpanic.dbmonster.generator.
DictionaryGenerator
Initializes the generator.
initialize(DBMonsterContext)
- Method in class pl.kernelpanic.dbmonster.generator.
ForeignKeyGenerator
Initializes the generator.
initialize(DBMonsterContext)
- Method in interface pl.kernelpanic.dbmonster.generator.
Initializable
Initializes a class with
DBMonsterContext
.
initialize(DBMonsterContext)
- Method in class pl.kernelpanic.dbmonster.generator.
MaxKeyGenerator
initialize(DBMonsterContext)
- Method in class pl.kernelpanic.dbmonster.generator.
NumberGenerator
Initializes the generator.
initialize(DBMonsterContext)
- Method in class pl.kernelpanic.dbmonster.generator.
StringGenerator
Initializes the generator.
initialize(DBMonsterContext)
- Method in class pl.kernelpanic.dbmonster.generator.
StringKeyGenerator
initialize(DBMonsterContext)
- Method in class pl.kernelpanic.dbmonster.schema.
Column
Initializes the column.
initialize(DBMonsterContext)
- Method in class pl.kernelpanic.dbmonster.schema.
Key
Initializes the key.
initialize(DBMonsterContext)
- Method in class pl.kernelpanic.dbmonster.schema.
Schema
Initializes the schema.
initialize(DBMonsterContext)
- Method in class pl.kernelpanic.dbmonster.schema.
Table
Initializes the table.
isExtended(String, int)
- Method in class pl.kernelpanic.dbmonster.sql.
ExtendedTypes
Checks if given type is an extended type.
isGenerated()
- Method in class pl.kernelpanic.dbmonster.schema.
Table
Checks if the table is already generated.
isHidden(Object, String)
- Static method in class pl.kernelpanic.dbmonster.schema.
SchemaUtil
Checks if property is public and not excluded.
K
KEY
- Static variable in class pl.kernelpanic.dbmonster.schema.
SchemaUtil
Primary key key.
KEY_GENERATOR
- Static variable in class pl.kernelpanic.dbmonster.schema.
SchemaUtil
Key generator key.
Key
- class pl.kernelpanic.dbmonster.schema.
Key
.
The primary key.
Key()
- Constructor for class pl.kernelpanic.dbmonster.schema.
Key
KeyGenerator
- interface pl.kernelpanic.dbmonster.generator.
KeyGenerator
.
The interface which every key generator must implement.
L
LOGGER_KEY
- Static variable in class pl.kernelpanic.dbmonster.
DBMonster
A key under the logger is stored in DBMonsterContext.
LONG
- Static variable in class pl.kernelpanic.dbmonster.generator.
NumberGenerator
Result should be long.
Launcher
- class pl.kernelpanic.dbmonster.
Launcher
.
A launcher class for DBMonster which provides a command line interface handling.
Launcher()
- Constructor for class pl.kernelpanic.dbmonster.
Launcher
Constructs new launcher.
LogEnabled
- interface pl.kernelpanic.dbmonster.connection.
LogEnabled
.
Log enabled interface.
loadSchema(String, Log)
- Static method in class pl.kernelpanic.dbmonster.schema.
SchemaUtil
Loads a schema from a file.
loadSchema(String, Log, ClassLoader)
- Static method in class pl.kernelpanic.dbmonster.schema.
SchemaUtil
loadSchema(URL, Log)
- Static method in class pl.kernelpanic.dbmonster.schema.
SchemaUtil
Loads a schema from an url.
loadSchema(InputStream, Log)
- Static method in class pl.kernelpanic.dbmonster.schema.
SchemaUtil
Loads a schema from an input stream.
loadSchema(InputStream, Log, ClassLoader)
- Static method in class pl.kernelpanic.dbmonster.schema.
SchemaUtil
M
MaxKeyGenerator
- class pl.kernelpanic.dbmonster.generator.
MaxKeyGenerator
.
The max key generator.
MaxKeyGenerator()
- Constructor for class pl.kernelpanic.dbmonster.generator.
MaxKeyGenerator
main(String[])
- Static method in class pl.kernelpanic.dbmonster.
Launcher
Runs DBMonster.
main(String[])
- Static method in class pl.kernelpanic.dbmonster.
SchemaGrabber
Starts SchemaGrabber
N
NUMERIC
- Static variable in class pl.kernelpanic.dbmonster.generator.
NumberGenerator
The result should be numeric.
NullGenerator
- class pl.kernelpanic.dbmonster.generator.
NullGenerator
.
The generator which only produces nulls.
NullGenerator()
- Constructor for class pl.kernelpanic.dbmonster.generator.
NullGenerator
NumberGenerator
- class pl.kernelpanic.dbmonster.generator.
NumberGenerator
.
The generator which only produces nulls.
NumberGenerator()
- Constructor for class pl.kernelpanic.dbmonster.generator.
NumberGenerator
next()
- Method in class pl.kernelpanic.dbmonster.util.
ScriptReaderIterator
nulls
- Variable in class pl.kernelpanic.dbmonster.generator.
BasicDataGenerator
Number of nulls.
P
PROGRESS_MONITOR_KEY
- Static variable in class pl.kernelpanic.dbmonster.
DBMonster
A key under progress monitor (if any) is stored in the context.
PROJECT
- Static variable in class pl.kernelpanic.dbmonster.schema.
SchemaUtil
Project key.
ProgressMonitor
- interface pl.kernelpanic.dbmonster.
ProgressMonitor
.
Basic interface for all progress monitors plug into DBMonster.
ProgressMonitorAdapter
- class pl.kernelpanic.dbmonster.
ProgressMonitorAdapter
.
ProgressMonitorAdapter()
- Constructor for class pl.kernelpanic.dbmonster.
ProgressMonitorAdapter
pl.kernelpanic.dbmonster
- package pl.kernelpanic.dbmonster
The main package of DBMonster.
pl.kernelpanic.dbmonster.connection
- package pl.kernelpanic.dbmonster.connection
This package contains all classes that deals with database connections.
pl.kernelpanic.dbmonster.generator
- package pl.kernelpanic.dbmonster.generator
This package contains all key and data generators interfaces as well as implementation of the some basic generators.
pl.kernelpanic.dbmonster.schema
- package pl.kernelpanic.dbmonster.schema
This package contains all database schema related classes.
pl.kernelpanic.dbmonster.sql
- package pl.kernelpanic.dbmonster.sql
pl.kernelpanic.dbmonster.util
- package pl.kernelpanic.dbmonster.util
This package contains various utils.
prepareStatement(String)
- Method in class pl.kernelpanic.dbmonster.connection.
Transaction
Prepares statement.
R
RANDOM_KEY
- Static variable in class pl.kernelpanic.dbmonster.
DBMonster
A key under the random number generator is stored in context.
remove()
- Method in class pl.kernelpanic.dbmonster.util.
ScriptReaderIterator
removeColumn(Column)
- Method in class pl.kernelpanic.dbmonster.schema.
Table
Removes column from table.
removeTable(Table)
- Method in class pl.kernelpanic.dbmonster.schema.
Schema
Removes the table.
reset()
- Method in class pl.kernelpanic.dbmonster.
Dictionary
Resets this dictionary.
reset()
- Method in interface pl.kernelpanic.dbmonster.
ProgressMonitor
Resets all settings.
reset()
- Method in class pl.kernelpanic.dbmonster.
ProgressMonitorAdapter
reset()
- Method in class pl.kernelpanic.dbmonster.generator.
BooleanGenerator
Reset generator.
reset()
- Method in class pl.kernelpanic.dbmonster.generator.
ConstantGenerator
Reset generator.
reset()
- Method in interface pl.kernelpanic.dbmonster.generator.
DataGenerator
Resets the generator.
reset()
- Method in class pl.kernelpanic.dbmonster.generator.
DateTimeGenerator
Resets the generator.
reset()
- Method in class pl.kernelpanic.dbmonster.generator.
DictionaryGenerator
Resets the generator.
reset()
- Method in class pl.kernelpanic.dbmonster.generator.
ForeignKeyGenerator
reset()
- Method in class pl.kernelpanic.dbmonster.generator.
NullGenerator
reset()
- Method in class pl.kernelpanic.dbmonster.generator.
NumberGenerator
reset()
- Method in class pl.kernelpanic.dbmonster.generator.
StringGenerator
Resets the generator.
reset()
- Method in class pl.kernelpanic.dbmonster.schema.
Column
Resets the column.
reset()
- Method in class pl.kernelpanic.dbmonster.schema.
Schema
Resets the schema.
reset()
- Method in class pl.kernelpanic.dbmonster.schema.
Table
Resets the entire table and mark it as if it was not generated.
resetColumns()
- Method in class pl.kernelpanic.dbmonster.schema.
Table
Resets key and all columns.
resetRows()
- Method in interface pl.kernelpanic.dbmonster.
ProgressMonitor
Reset rows.
resetRows()
- Method in class pl.kernelpanic.dbmonster.
ProgressMonitorAdapter
resetTables()
- Method in interface pl.kernelpanic.dbmonster.
ProgressMonitor
Resets tables.
resetTables()
- Method in class pl.kernelpanic.dbmonster.
ProgressMonitorAdapter
rowComplete()
- Method in interface pl.kernelpanic.dbmonster.
ProgressMonitor
Called when row is complete.
rowComplete()
- Method in class pl.kernelpanic.dbmonster.
ProgressMonitorAdapter
rowsCount
- Variable in class pl.kernelpanic.dbmonster.
ProgressMonitorAdapter
run(String[])
- Method in class pl.kernelpanic.dbmonster.
Launcher
Runs launcher.
S
SCHEMA_WRAPPER
- Static variable in class pl.kernelpanic.dbmonster.schema.
SchemaUtil
Schema key.
SHORT
- Static variable in class pl.kernelpanic.dbmonster.generator.
NumberGenerator
Result should be short.
Schema
- class pl.kernelpanic.dbmonster.schema.
Schema
.
Schema represents the look of the database, it is complete database structure including tables, primary keys, columns and generators.
Schema()
- Constructor for class pl.kernelpanic.dbmonster.schema.
Schema
SchemaException
- exception pl.kernelpanic.dbmonster.schema.
SchemaException
.
SchemaException is throws when an error occures in the schema structure.
SchemaException(String)
- Constructor for class pl.kernelpanic.dbmonster.schema.
SchemaException
Constructs new SchemaException with a reason.
SchemaGrabber
- class pl.kernelpanic.dbmonster.
SchemaGrabber
.
Schema Grabber.
SchemaGrabber()
- Constructor for class pl.kernelpanic.dbmonster.
SchemaGrabber
Constructs new SchemaGrabber.
SchemaUtil
- class pl.kernelpanic.dbmonster.schema.
SchemaUtil
.
Utility to manipulate schema.
ScriptReaderIterator
- class pl.kernelpanic.dbmonster.util.
ScriptReaderIterator
.
ScriptReaderIterator(String)
- Constructor for class pl.kernelpanic.dbmonster.util.
ScriptReaderIterator
ScriptReaderIterator(Reader)
- Constructor for class pl.kernelpanic.dbmonster.util.
ScriptReaderIterator
ScriptReaderIterator(File)
- Constructor for class pl.kernelpanic.dbmonster.util.
ScriptReaderIterator
SimpleConnectionProvider
- class pl.kernelpanic.dbmonster.connection.
SimpleConnectionProvider
.
The most simple connection provider.
SimpleConnectionProvider()
- Constructor for class pl.kernelpanic.dbmonster.connection.
SimpleConnectionProvider
Creates new SimpleConnectionProvider.
SimpleConnectionProvider(String, String, String, String)
- Constructor for class pl.kernelpanic.dbmonster.connection.
SimpleConnectionProvider
Creates new SimpleConnectionProvider with given connection info.
SimpleConnectionProvider(String, String, Properties)
- Constructor for class pl.kernelpanic.dbmonster.connection.
SimpleConnectionProvider
Creates new SimpleConnectionProvider with properties (usefull for interbase).
StringGenerator
- class pl.kernelpanic.dbmonster.generator.
StringGenerator
.
String generator.
StringGenerator()
- Constructor for class pl.kernelpanic.dbmonster.generator.
StringGenerator
StringKeyGenerator
- class pl.kernelpanic.dbmonster.generator.
StringKeyGenerator
.
The string key generator uses sort of string magic known from Perl.
StringKeyGenerator()
- Constructor for class pl.kernelpanic.dbmonster.generator.
StringKeyGenerator
schemaComplete()
- Method in interface pl.kernelpanic.dbmonster.
ProgressMonitor
Called when schema is completed.
schemaComplete()
- Method in class pl.kernelpanic.dbmonster.
ProgressMonitorAdapter
schemaName
- Variable in class pl.kernelpanic.dbmonster.
ProgressMonitorAdapter
schemasCount
- Variable in class pl.kernelpanic.dbmonster.
ProgressMonitorAdapter
serializeColumn(Writer, Column)
- Static method in class pl.kernelpanic.dbmonster.schema.
SchemaUtil
Dumps a column to XML.
serializeGenerator(Writer, Object)
- Static method in class pl.kernelpanic.dbmonster.schema.
SchemaUtil
Dumps a generator to XML.
serializeKey(Writer, Key)
- Static method in class pl.kernelpanic.dbmonster.schema.
SchemaUtil
Dumps a key to XML representation.
serializeSchema(Writer, Schema)
- Static method in class pl.kernelpanic.dbmonster.schema.
SchemaUtil
Dumps the schema to XML file.
serializeTable(Writer, Table)
- Static method in class pl.kernelpanic.dbmonster.schema.
SchemaUtil
Dumps a table to XML representation.
setAllowSpaces(boolean)
- Method in class pl.kernelpanic.dbmonster.generator.
StringGenerator
Sets the allowSpaces parameter.
setColumn(Column)
- Method in class pl.kernelpanic.dbmonster.generator.
BasicDataGenerator
Sets the column.
setColumn(Column)
- Method in interface pl.kernelpanic.dbmonster.generator.
DataGenerator
Sets the column.
setColumnName(String)
- Method in class pl.kernelpanic.dbmonster.generator.
ForeignKeyGenerator
Sets the column name.
setColumnName(String)
- Method in class pl.kernelpanic.dbmonster.generator.
MaxKeyGenerator
Sets the column name and sets up the column.
setColumnName(String)
- Method in class pl.kernelpanic.dbmonster.generator.
StringKeyGenerator
Sets the column name and sets up the column.
setConnectionProvider(ConnectionProvider)
- Method in class pl.kernelpanic.dbmonster.
DBMonster
Sets a connection provider.
setConnectionProvider(ConnectionProvider)
- Method in class pl.kernelpanic.dbmonster.
SchemaGrabber
Sets the connection provider.
setConstant(String)
- Method in class pl.kernelpanic.dbmonster.generator.
ConstantGenerator
setDatabaseDefault(boolean)
- Method in class pl.kernelpanic.dbmonster.schema.
Column
Sets database default parameter
setDatabaseDefault(boolean)
- Method in class pl.kernelpanic.dbmonster.schema.
Key
Sets database default parameter
setDictFile(String)
- Method in class pl.kernelpanic.dbmonster.generator.
DictionaryGenerator
Sets the dictionary name.
setEndDate(String)
- Method in class pl.kernelpanic.dbmonster.generator.
DateTimeGenerator
Sets the end date.
setExcludeChars(String)
- Method in class pl.kernelpanic.dbmonster.generator.
StringGenerator
Sets the excluded characters.
setFastMode(boolean)
- Method in class pl.kernelpanic.dbmonster.generator.
ForeignKeyGenerator
Sets the fast mode parameter.
setGenerator(DataGenerator)
- Method in class pl.kernelpanic.dbmonster.schema.
Column
Sets the data generator.
setGenerator(KeyGenerator)
- Method in class pl.kernelpanic.dbmonster.schema.
Key
Sets the generator.
setHome(String)
- Method in class pl.kernelpanic.dbmonster.schema.
Schema
Sets the home directory of the schema.
setKey(Key)
- Method in interface pl.kernelpanic.dbmonster.generator.
KeyGenerator
Sets the key.
setKey(Key)
- Method in class pl.kernelpanic.dbmonster.generator.
MaxKeyGenerator
Sets the key.
setKey(Key)
- Method in class pl.kernelpanic.dbmonster.generator.
StringKeyGenerator
Sets the key.
setKey(Key)
- Method in class pl.kernelpanic.dbmonster.schema.
Table
Sets the key.
setLog(Log)
- Method in class pl.kernelpanic.dbmonster.
SchemaGrabber
Sets the logger
setLogger(Log)
- Method in class pl.kernelpanic.dbmonster.
DBMonster
Sets a logger for this DBMonster instance.
setLogger(Log)
- Method in class pl.kernelpanic.dbmonster.connection.
DBCPConnectionProvider
Sets the logger.
setLogger(Log)
- Method in interface pl.kernelpanic.dbmonster.connection.
LogEnabled
Sets the logger.
setLogger(Log)
- Method in class pl.kernelpanic.dbmonster.connection.
SimpleConnectionProvider
Sets the logger.
setMaxLength(int)
- Method in class pl.kernelpanic.dbmonster.generator.
StringGenerator
Sets the maximal length of the string.
setMaxValue(String)
- Method in class pl.kernelpanic.dbmonster.generator.
NumberGenerator
Maximum value.
setMinLength(int)
- Method in class pl.kernelpanic.dbmonster.generator.
StringGenerator
Sets the minimal length of the string.
setMinValue(String)
- Method in class pl.kernelpanic.dbmonster.generator.
NumberGenerator
Minimal value.
setName(String)
- Method in class pl.kernelpanic.dbmonster.
Dictionary
Sets the name of the dictionary.
setName(String)
- Method in class pl.kernelpanic.dbmonster.schema.
Column
Sets the name of the column.
setName(String)
- Method in class pl.kernelpanic.dbmonster.schema.
Schema
Sets the name of the schema.
setName(String)
- Method in class pl.kernelpanic.dbmonster.schema.
Table
Sets the name of the table.
setNulls(int)
- Method in class pl.kernelpanic.dbmonster.generator.
BasicDataGenerator
Sets the nulls.
setOutputFile(String)
- Method in class pl.kernelpanic.dbmonster.
SchemaGrabber
Sets the output file name.
setPostScript(File)
- Method in class pl.kernelpanic.dbmonster.
DBMonster
setPreScript(File)
- Method in class pl.kernelpanic.dbmonster.
DBMonster
setProbability(int)
- Method in class pl.kernelpanic.dbmonster.generator.
BooleanGenerator
Sets the probability.
setProgressMonitor(ProgressMonitor)
- Method in class pl.kernelpanic.dbmonster.
DBMonster
Sets the progress monitor.
setProperties(Properties)
- Method in class pl.kernelpanic.dbmonster.
DBMonster
Sets the properties.
setProperties(Properties)
- Method in class pl.kernelpanic.dbmonster.
SchemaGrabber
Sets the properties for the SchemaGrabber
setProperty(String, Object)
- Method in class pl.kernelpanic.dbmonster.
DBMonsterContext
Sets the context property.
setRandom(Random)
- Method in class pl.kernelpanic.dbmonster.
Dictionary
Sets the random generator.
setRandom(Random)
- Method in class pl.kernelpanic.dbmonster.
DictionaryManager
Sets the random number generator.
setReturnedType(String)
- Method in class pl.kernelpanic.dbmonster.generator.
DateTimeGenerator
Sets the returned type.
setReturnedType(String)
- Method in class pl.kernelpanic.dbmonster.generator.
NumberGenerator
Sets the returned type.
setRows(int)
- Method in class pl.kernelpanic.dbmonster.schema.
Table
Sets the number of rows.
setRowsCount(int)
- Method in interface pl.kernelpanic.dbmonster.
ProgressMonitor
Sets the number of rows.
setRowsCount(int)
- Method in class pl.kernelpanic.dbmonster.
ProgressMonitorAdapter
setScale(int)
- Method in class pl.kernelpanic.dbmonster.generator.
NumberGenerator
Sets the scale.
setSchema(Schema)
- Method in class pl.kernelpanic.dbmonster.schema.
Table
Sets the schema - it cannot be null.
setSchemaCount(int)
- Method in interface pl.kernelpanic.dbmonster.
ProgressMonitor
Sets the schema count.
setSchemaCount(int)
- Method in class pl.kernelpanic.dbmonster.
ProgressMonitorAdapter
setSchemaName(String)
- Method in interface pl.kernelpanic.dbmonster.
ProgressMonitor
Sets the name of the schema being generated.
setSchemaName(String)
- Method in class pl.kernelpanic.dbmonster.
ProgressMonitorAdapter
setStartDate(String)
- Method in class pl.kernelpanic.dbmonster.generator.
DateTimeGenerator
Sets the start date.
setStartValue(String)
- Method in class pl.kernelpanic.dbmonster.generator.
StringKeyGenerator
Sets the start value
setTable(Table)
- Method in class pl.kernelpanic.dbmonster.schema.
Column
Sets the table.
setTable(Table)
- Method in class pl.kernelpanic.dbmonster.schema.
Key
Sets the table.
setTableCount(int)
- Method in interface pl.kernelpanic.dbmonster.
ProgressMonitor
Sets the table count.
setTableCount(int)
- Method in class pl.kernelpanic.dbmonster.
ProgressMonitorAdapter
setTableName(String)
- Method in interface pl.kernelpanic.dbmonster.
ProgressMonitor
Sets the name of the table being generated.
setTableName(String)
- Method in class pl.kernelpanic.dbmonster.
ProgressMonitorAdapter
setTableName(String)
- Method in class pl.kernelpanic.dbmonster.generator.
ForeignKeyGenerator
Sets the table name.
setTargetType(int)
- Method in class pl.kernelpanic.dbmonster.schema.
Column
setUnique(boolean)
- Method in class pl.kernelpanic.dbmonster.generator.
DictionaryGenerator
Sets the unique parameter.
setUp()
- Method in interface pl.kernelpanic.dbmonster.
ProgressMonitor
Called on startup.
setUp()
- Method in class pl.kernelpanic.dbmonster.
ProgressMonitorAdapter
setValue(Object)
- Method in class pl.kernelpanic.dbmonster.schema.
Column
Sets the value.
shutdown()
- Method in interface pl.kernelpanic.dbmonster.connection.
ConnectionProvider
Shuts down the connection provider releasing all resources.
shutdown()
- Method in class pl.kernelpanic.dbmonster.connection.
DBCPConnectionProvider
Shutdown this connection provider.
shutdown()
- Method in class pl.kernelpanic.dbmonster.connection.
SimpleConnectionProvider
Shutdown this connection provider.
T
TABLE
- Static variable in class pl.kernelpanic.dbmonster.schema.
SchemaUtil
Table key.
TIME
- Static variable in class pl.kernelpanic.dbmonster.generator.
DateTimeGenerator
Returned type should be time.
TIMESTAMP
- Static variable in class pl.kernelpanic.dbmonster.generator.
DateTimeGenerator
Returned type should be timestamp.
Table
- class pl.kernelpanic.dbmonster.schema.
Table
.
The table.
Table()
- Constructor for class pl.kernelpanic.dbmonster.schema.
Table
Transaction
- class pl.kernelpanic.dbmonster.connection.
Transaction
.
This class provides an unified interface for JDBC connections.
Transaction(ConnectionProvider)
- Constructor for class pl.kernelpanic.dbmonster.connection.
Transaction
Constructs a new connection provider.
tableComplete()
- Method in interface pl.kernelpanic.dbmonster.
ProgressMonitor
Called when table is completed.
tableComplete()
- Method in class pl.kernelpanic.dbmonster.
ProgressMonitorAdapter
tableName
- Variable in class pl.kernelpanic.dbmonster.
ProgressMonitorAdapter
tablesCount
- Variable in class pl.kernelpanic.dbmonster.
ProgressMonitorAdapter
tearDown()
- Method in interface pl.kernelpanic.dbmonster.
ProgressMonitor
Called after the work is over.
tearDown()
- Method in class pl.kernelpanic.dbmonster.
ProgressMonitorAdapter
testConnection()
- Method in interface pl.kernelpanic.dbmonster.connection.
ConnectionProvider
Tests a connection.
testConnection()
- Method in class pl.kernelpanic.dbmonster.connection.
DBCPConnectionProvider
testConnection()
- Method in class pl.kernelpanic.dbmonster.connection.
SimpleConnectionProvider
V
VERSION
- Static variable in class pl.kernelpanic.dbmonster.
DBMonster
DBMonster's version.
validateColumn(Column)
- Static method in class pl.kernelpanic.dbmonster.schema.
SchemaUtil
Validates the column.
validateKey(Key)
- Static method in class pl.kernelpanic.dbmonster.schema.
SchemaUtil
Validates key.
validateSchema(Schema)
- Static method in class pl.kernelpanic.dbmonster.schema.
SchemaUtil
Validate schema.
validateTable(Table)
- Static method in class pl.kernelpanic.dbmonster.schema.
SchemaUtil
Validates table.
A
B
C
D
E
F
G
H
I
K
L
M
N
P
R
S
T
V
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2003-2005 .:. kernelpanic.pl .:.. All Rights Reserved.