Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W 

A

add(DataSet) - Method in class org.jdbdt.DataSet
Add rows of given data set to this data set.
allColumnsNull() - Method in class org.jdbdt.DataSetBuilder
Set the NULL value filler for all columns.
arguments(Object...) - Method in class org.jdbdt.QueryBuilder
Set arguments for query.
assertDeleted(String, DataSet) - Static method in class org.jdbdt.JDBDT
Assert that database changed only by removal of a given data set (error message variant).
assertDeleted(DataSet) - Static method in class org.jdbdt.JDBDT
Assert that database changed by removal of given data set.
assertDeleted(String, DataSet...) - Static method in class org.jdbdt.JDBDT
Assert that database changed by removal of given data sets (error message variant).
assertDeleted(DataSet...) - Static method in class org.jdbdt.JDBDT
Assert that database changed by removal of given data sets.
assertDelta(String, DataSet, DataSet) - Static method in class org.jdbdt.JDBDT
Assert database delta expressed by 'old' and 'new' data sets (error message variant).
assertDelta(DataSet, DataSet) - Static method in class org.jdbdt.JDBDT
Assert database delta expressed by 'old' and 'new' data sets.
assertEmpty(String, DataSource) - Static method in class org.jdbdt.JDBDT
Assert that the given data source has no rows (error message variant).
assertEmpty(DataSource) - Static method in class org.jdbdt.JDBDT
Assert that the given data source has no rows.
assertEmpty(String, DataSource...) - Static method in class org.jdbdt.JDBDT
Assert that the given data sources have no rows (error message variant).
assertEmpty(DataSource...) - Static method in class org.jdbdt.JDBDT
Assert that the given data sources have no rows.
assertEquals(DataSet, DataSet) - Static method in class org.jdbdt.JDBDT
Assert that two data sets are equivalent.
assertEquals(String, DataSet, DataSet) - Static method in class org.jdbdt.JDBDT
Assert that two data sets are equivalent (error message variant).
assertInserted(String, DataSet) - Static method in class org.jdbdt.JDBDT
Assert that database changed only by insertion of a given data set (error message variant).
assertInserted(DataSet) - Static method in class org.jdbdt.JDBDT
Assert that database changed only by insertion of a given data set.
assertInserted(String, DataSet...) - Static method in class org.jdbdt.JDBDT
Assert that database changed only by insertion of given data sets (error message variant).
assertInserted(DataSet...) - Static method in class org.jdbdt.JDBDT
Assert that database changed only by addition of given data sets.
assertState(String, DataSet) - Static method in class org.jdbdt.JDBDT
Assert that the database state matches the given data set (error message variant).
assertState(DataSet) - Static method in class org.jdbdt.JDBDT
Assert that the database state matches the given data set.
assertState(String, DataSet...) - Static method in class org.jdbdt.JDBDT
Assert that the database state matches the given data sets (error message variant)
assertState(DataSet...) - Static method in class org.jdbdt.JDBDT
Assert that the database state matches the given data sets.
assertTableDoesNotExist(DB, String) - Static method in class org.jdbdt.JDBDT
Assert that table does not exist in a database.
assertTableDoesNotExist(String, DB, String) - Static method in class org.jdbdt.JDBDT
Assert that table does not exist in a database (error message variant).
assertTableDoesNotExist(DB, String...) - Static method in class org.jdbdt.JDBDT
Assert that tables do not exist in a database.
assertTableDoesNotExist(String, DB, String...) - Static method in class org.jdbdt.JDBDT
Assert that tables do not exist in a database (error message variant).
assertTableExists(DB, String) - Static method in class org.jdbdt.JDBDT
Assert that table exists in the database.
assertTableExists(String, DB, String) - Static method in class org.jdbdt.JDBDT
Assert that table exists in the database (error message variant).
assertTableExists(DB, String...) - Static method in class org.jdbdt.JDBDT
Assert that tables exist in the database.
assertTableExists(String, DB, String...) - Static method in class org.jdbdt.JDBDT
Assert that tables exist in the database (error message variant).
assertUnchanged(String, DataSource) - Static method in class org.jdbdt.JDBDT
Assert that no changes occurred for the given data source (error message variant).
assertUnchanged(DataSource) - Static method in class org.jdbdt.JDBDT
Assert that no changes occurred for the given data source.
assertUnchanged(String, DataSource...) - Static method in class org.jdbdt.JDBDT
Assert that no changes occurred for the given data sources (error message variant).
assertUnchanged(DataSource...) - Static method in class org.jdbdt.JDBDT
Assert that no changes occurred for the given data sources.

B

build() - Method in class org.jdbdt.DataSet
Create a builder for this data set.
build(DB) - Method in class org.jdbdt.QueryBuilder
Build the query.
build(DB) - Method in class org.jdbdt.TableBuilder
Build the table object.
builder(DataSource) - Static method in class org.jdbdt.JDBDT
Create a builder for a fresh data set.

C

changed(DataSource) - Static method in class org.jdbdt.JDBDT
Check if given data source is seen as changed.
changed(DataSource...) - Static method in class org.jdbdt.JDBDT
Check if given data sources are seen as changed.
ColumnFiller<T> - Interface in org.jdbdt
Database column filler.
ColumnFillerException - Exception in org.jdbdt
Exception thrown when there is an error evaluating a column filler.
ColumnFillerException(String) - Constructor for exception org.jdbdt.ColumnFillerException
Constructs a new exception using supplied message.
ColumnFillerException(String, Exception) - Constructor for exception org.jdbdt.ColumnFillerException
Constructs a new exception using supplied message and associated cause.
columns(String...) - Method in class org.jdbdt.QueryBuilder
Set query columns.
columns(String...) - Method in class org.jdbdt.TableBuilder
Set columns.
commit(DB) - Static method in class org.jdbdt.JDBDT
Commit changes in current transaction.
Conversion<T> - Interface in org.jdbdt
Conversion function from objects to database format.
convert(T) - Method in interface org.jdbdt.Conversion
Convert object to row format.
copyOf(DataSet) - Static method in class org.jdbdt.DataSet
Create data set with the same contents of given data set.

D

data() - Method in class org.jdbdt.DataSetBuilder
Get data set this builder associates to.
data(DataSource) - Static method in class org.jdbdt.JDBDT
Create a new data set.
data(DataSource, Conversion<T>) - Static method in class org.jdbdt.JDBDT
Create a new typed data set.
database(Connection) - Static method in class org.jdbdt.JDBDT
Create a new database handle.
database(String) - Static method in class org.jdbdt.JDBDT
Create a new database handle for given database URL.
database(String, String, String) - Static method in class org.jdbdt.JDBDT
Create a new database handle for given database URL, user and password .
database(DataSource) - Static method in class org.jdbdt.JDBDT
Create a new database handle for given DataSource instance.
database(DataSource, String, String) - Static method in class org.jdbdt.JDBDT
Create a new database handle for given DataSource instance, user, and password.
DataSet - Class in org.jdbdt
Data set.
DataSet(DataSource) - Constructor for class org.jdbdt.DataSet
Constructs a new data set.
DataSetBuilder - Class in org.jdbdt
Data set builder.
DataSetBuilder(DataSource) - Constructor for class org.jdbdt.DataSetBuilder
Constructs a new data set builder for the given data source.
DataSetBuilder(DataSet) - Constructor for class org.jdbdt.DataSetBuilder
Constructs a new data set builder backed by an existing data set.
DataSource - Class in org.jdbdt
Base class for data sources.
DataSource(CallInfo, DB, String, Object...) - Constructor for class org.jdbdt.DataSource
Constructor.
DB - Class in org.jdbdt
Database handle.
DB(Connection) - Constructor for class org.jdbdt.DB
Constructor.
DB.Option - Enum in org.jdbdt
Database options.
DBAssertionError - Error in org.jdbdt
Error thrown due to a failed assertion.
DBAssertionError(String) - Constructor for error org.jdbdt.DBAssertionError
Constructs exception with given error message.
DBExecutionException - Exception in org.jdbdt
Exception thrown due to a database error.
DBExecutionException(SQLException) - Constructor for exception org.jdbdt.DBExecutionException
Constructs the exception with given cause.
DEFAULT_MAX_BATCH_UPDATE_SIZE - Static variable in class org.jdbdt.DB
Default value for maximum batch update size (if batch updates enabled).
delete(DataSet) - Static method in class org.jdbdt.JDBDT
Delete data set from the database.
delete(DataSet...) - Static method in class org.jdbdt.JDBDT
Delete data sets from the database.
deleteAll(Table) - Static method in class org.jdbdt.JDBDT
Delete all data from a table.
deleteAll(Table...) - Static method in class org.jdbdt.JDBDT
Delete all data from given tables.
deleteAllWhere(Table, String, Object...) - Static method in class org.jdbdt.JDBDT
Delete all data from a table, subject to a WHERE clause.
disable(DB.Option...) - Method in class org.jdbdt.DB
Disable options.
distinct() - Method in class org.jdbdt.QueryBuilder
Set DISTINCT clause for query.
drop(Table) - Static method in class org.jdbdt.JDBDT
Drop a table (table handle variant).
drop(Table...) - Static method in class org.jdbdt.JDBDT
Drop tables (table handle variant).
drop(DB, String) - Static method in class org.jdbdt.JDBDT
Drop a table (table name variant).
drop(DB, String...) - Static method in class org.jdbdt.JDBDT
Drop tables.
dump(DataSet, PrintStream) - Static method in class org.jdbdt.JDBDT
Dump the contents of a data set.
dump(DataSet, File) - Static method in class org.jdbdt.JDBDT
Dump the contents of a data set (output file variant).
dump(DataSource, PrintStream) - Static method in class org.jdbdt.JDBDT
Dump the database contents for a data source.
dump(DataSource, File) - Static method in class org.jdbdt.JDBDT
Dump the database contents for a data source (file variant).

E

empty(DataSource) - Static method in class org.jdbdt.JDBDT
Get empty data set constant for given data source.
enable(DB.Option...) - Method in class org.jdbdt.DB
Enable options.
enableFullLogging() - Method in class org.jdbdt.DB
Enable all logging options.
execute(DB, String, Object...) - Static method in class org.jdbdt.JDBDT
Execute arbitrary SQL for a database instance.

F

first(DataSet, int) - Static method in class org.jdbdt.DataSet
Create sub-set with the first n rows.
from(Table) - Method in class org.jdbdt.QueryBuilder
Set table as the data source to this query.
from(String...) - Method in class org.jdbdt.QueryBuilder
Set FROM clause.

G

generate(int) - Method in class org.jdbdt.DataSetBuilder
Associate a number of rows to the data set, according to the current column fillers' configuration.
getCause() - Method in exception org.jdbdt.DBExecutionException
Get cause of the exception.
getColumnCount() - Method in class org.jdbdt.DataSource
Get column count.
getColumnName(int) - Method in class org.jdbdt.DataSource
Get column name.
getColumns() - Method in class org.jdbdt.DataSource
Get columns.
getConnection() - Method in class org.jdbdt.DB
Get connection.
getDB() - Method in class org.jdbdt.DataSource
Get database instance.
getKeyColumns() - Method in class org.jdbdt.Table
Get key columns.
getMaximumBatchUpdateSize() - Method in class org.jdbdt.DB
Get current setting for maximum batch update size.
getName() - Method in class org.jdbdt.Table
Get table name.
getSource() - Method in class org.jdbdt.DataSet
Get data source.
getSQLForQuery() - Method in class org.jdbdt.DataSource
Get SQL code for query.
groupBy(String...) - Method in class org.jdbdt.QueryBuilder
Set GROUP BY clause for query.

H

having(String) - Method in class org.jdbdt.QueryBuilder
Set HAVING clause for query.

I

insert(DataSet) - Static method in class org.jdbdt.JDBDT
Insert a data set into the database.
insert(DataSet...) - Static method in class org.jdbdt.JDBDT
Insert data sets into the database.
InternalErrorException - Exception in org.jdbdt
Exception thrown due to an unexpected internal error.
InternalErrorException() - Constructor for exception org.jdbdt.InternalErrorException
Constructs exception with empty message.
InternalErrorException(String) - Constructor for exception org.jdbdt.InternalErrorException
Constructs exception using supplied message.
InternalErrorException(Throwable) - Constructor for exception org.jdbdt.InternalErrorException
Constructs exception with given cause.
InvalidOperationException - Exception in org.jdbdt
Exception thrown due to an invalid use of the JDBDT API.
InvalidOperationException(String) - Constructor for exception org.jdbdt.InvalidOperationException
Constructs a new exception using supplied message.
InvalidOperationException(String, Throwable) - Constructor for exception org.jdbdt.InvalidOperationException
Constructs a new exception using supplied message and associated cause.
isEmpty() - Method in class org.jdbdt.DataSet
Check if the data set is empty.
isEnabled(DB.Option) - Method in class org.jdbdt.DB
Check if option is enabled.
isReadOnly() - Method in class org.jdbdt.DataSet
Check if the data set is read-only.

J

JDBDT - Class in org.jdbdt
JDBDT facade.
JDBDTRuntimeException - Exception in org.jdbdt
Base class for JDBDT runtime exceptions.
JDBDTRuntimeException(String) - Constructor for exception org.jdbdt.JDBDTRuntimeException
Constructs a new exception using supplied message.
JDBDTRuntimeException(String, Throwable) - Constructor for exception org.jdbdt.JDBDTRuntimeException
Constructs a new exception using supplied message and associated cause.
join(DataSet...) - Static method in class org.jdbdt.DataSet
Create data set that results from joining several data sets.

K

key(String...) - Method in class org.jdbdt.TableBuilder
Set key columns.

L

last(DataSet, int) - Static method in class org.jdbdt.DataSet
Create sub-set with the last n rows.

M

MILLIS_PER_DAY - Static variable in class org.jdbdt.DataSetBuilder
Milliseconds per day.

N

name(String) - Method in class org.jdbdt.TableBuilder
Set table name.
next() - Method in interface org.jdbdt.ColumnFiller
Get next value.
nullValue(String) - Method in class org.jdbdt.DataSetBuilder
Set the NULL value filler for a column.

O

orderBy(String...) - Method in class org.jdbdt.QueryBuilder
Set ORDER BY clause for query.
org.jdbdt - package org.jdbdt
JDBDT (Java Database Delta Testing) is a library for testing database applications.

P

populate(DataSet) - Static method in class org.jdbdt.JDBDT
Populate database with given data set.
populate(DataSet...) - Static method in class org.jdbdt.JDBDT
Populate database with given data sets.
populateIfChanged(DataSet) - Static method in class org.jdbdt.JDBDT
Populate database with given data set if the associated table is seen as changed.
populateIfChanged(DataSet...) - Static method in class org.jdbdt.JDBDT
Populate database with given data sets if the associated tables are seen as changed.

Q

query(DB, String, Object...) - Static method in class org.jdbdt.JDBDT
Create a query data source from given SQL code.
Query - Class in org.jdbdt
Query data source.
Query(DB, String, Object...) - Constructor for class org.jdbdt.Query
Constructor.
QueryBuilder - Class in org.jdbdt
Query builder.
QueryBuilder() - Constructor for class org.jdbdt.QueryBuilder
Constructs a new query builder.

R

random(String, T...) - Method in class org.jdbdt.DataSetBuilder
Set random filler for column using an array of values.
random(String, List<?>) - Method in class org.jdbdt.DataSetBuilder
Set random filler for column using a list of values.
random(String, int, int) - Method in class org.jdbdt.DataSetBuilder
Set random filler using int values.
random(String, long, long) - Method in class org.jdbdt.DataSetBuilder
Set random filler using long values.
random(String, float, float) - Method in class org.jdbdt.DataSetBuilder
Set random filler using float values.
random(String, double, double) - Method in class org.jdbdt.DataSetBuilder
Set random filler using double values.
random(String, Date, Date) - Method in class org.jdbdt.DataSetBuilder
Set random filler using Date values.
random(String, Time, Time) - Method in class org.jdbdt.DataSetBuilder
Set random filler using Time values.
random(String, Timestamp, Timestamp) - Method in class org.jdbdt.DataSetBuilder
Set random filler using Timestamp values.
random(String, Function<Random, ?>) - Method in class org.jdbdt.DataSetBuilder
Set customized random filler.
remainingColumnsNull() - Method in class org.jdbdt.DataSetBuilder
Set the NULL value filler for all remaining columns.
reset() - Method in class org.jdbdt.DataSetBuilder
Disable all previous column filler settings.
restore(DB) - Static method in class org.jdbdt.JDBDT
Restore database state to the last JDBDT save-point.
row(Object...) - Method in class org.jdbdt.DataSet
Add a row to the data set.
row(T) - Method in class org.jdbdt.TypedDataSet
Add row to the data set.
rows(Object[][]) - Method in class org.jdbdt.DataSet
Add rows to the data set.
rows(T...) - Method in class org.jdbdt.TypedDataSet
Add rows to the data set.
rows(Collection<? extends T>) - Method in class org.jdbdt.TypedDataSet
Add rows in a collection to the data set.

S

save(DB) - Static method in class org.jdbdt.JDBDT
Set JDBDT save-point for database.
select(String...) - Static method in class org.jdbdt.JDBDT
Create a query builder.
sequence(String, T, UnaryOperator<T>) - Method in class org.jdbdt.DataSetBuilder
Set a sequence filler using a step-function.
sequence(String, IntFunction<?>) - Method in class org.jdbdt.DataSetBuilder
Set sequence filler using a index-based step-function.
sequence(String, IntFunction<?>, int) - Method in class org.jdbdt.DataSetBuilder
Set sequence filler using a index-based step-function.
sequence(String, T...) - Method in class org.jdbdt.DataSetBuilder
Set sequence filler using array values.
sequence(String, List<?>) - Method in class org.jdbdt.DataSetBuilder
Set sequence filler using a list of values.
sequence(String, int) - Method in class org.jdbdt.DataSetBuilder
Set int value sequence filler for column.
sequence(String, int, int) - Method in class org.jdbdt.DataSetBuilder
Set int sequence filler for column with a specified step.
sequence(String, long) - Method in class org.jdbdt.DataSetBuilder
Set long value sequence filler for column.
sequence(String, long, long) - Method in class org.jdbdt.DataSetBuilder
Set long sequence filler for column with a specified step.
sequence(String, BigInteger) - Method in class org.jdbdt.DataSetBuilder
Set BigInteger sequence filler for column.
sequence(String, BigInteger, BigInteger) - Method in class org.jdbdt.DataSetBuilder
Set BigInteger sequence filler for column with a specified step.
sequence(String, float, float) - Method in class org.jdbdt.DataSetBuilder
Set float sequence filler for column with a specified step.
sequence(String, double, double) - Method in class org.jdbdt.DataSetBuilder
Set double sequence filler for column with a specified step.
sequence(String, Date, int) - Method in class org.jdbdt.DataSetBuilder
Set Date sequence filler for column with a specified step in days.
sequence(String, Time, int) - Method in class org.jdbdt.DataSetBuilder
Set Time sequence filler for column with a specified step in seconds.
sequence(String, Timestamp, long) - Method in class org.jdbdt.DataSetBuilder
Set Timestamp sequence filler for column with a specified step in milliseconds.
set(String, ColumnFiller<?>) - Method in class org.jdbdt.DataSetBuilder
Set filler for column.
setLog(PrintStream) - Method in class org.jdbdt.DB
Redirect log output to a stream.
setLog(File) - Method in class org.jdbdt.DB
Set output file for log output.
setMaximumBatchUpdateSize(int) - Method in class org.jdbdt.DB
Set maximum size for batch updates.
setReadOnly() - Method in class org.jdbdt.DataSet
Set data set as read-only.
singleton(DataSet, int) - Static method in class org.jdbdt.DataSet
Create a data set with only one row from the given data set.
size() - Method in class org.jdbdt.DataSet
Get size of data set.
subset(DataSet, int, int) - Static method in class org.jdbdt.DataSet
Create a subset of the rows of given data set.

T

table(String) - Static method in class org.jdbdt.JDBDT
Create a table builder.
Table - Class in org.jdbdt
Table data source.
Table(DB, String, String[], String[]) - Constructor for class org.jdbdt.Table
Constructor.
TableBuilder - Class in org.jdbdt
Table builder.
TableBuilder() - Constructor for class org.jdbdt.TableBuilder
Constructs a new table builder.
takeSnapshot(DataSource) - Static method in class org.jdbdt.JDBDT
Take a database snapshot.
takeSnapshot(DataSource...) - Static method in class org.jdbdt.JDBDT
Take a database snapshot for several data sources.
teardown(DB, boolean) - Static method in class org.jdbdt.JDBDT
Tear-down a database handle.
toString() - Method in class org.jdbdt.DataSet
Get textual representation of the data set.
toString() - Method in class org.jdbdt.QueryBuilder
Get textual representation.
truncate(Table) - Static method in class org.jdbdt.JDBDT
Truncate table.
truncate(Table...) - Static method in class org.jdbdt.JDBDT
Truncate tables.
TypedDataSet<T> - Class in org.jdbdt
Typed data set.
TypedDataSet(DataSource, Conversion<T>) - Constructor for class org.jdbdt.TypedDataSet
Construct a typed data set.

U

UnsupportedOperationException - Exception in org.jdbdt
Exception thrown due to an unsupported operation.
UnsupportedOperationException(String) - Constructor for exception org.jdbdt.UnsupportedOperationException
Constructs a new exception using supplied message.
update(DataSet) - Static method in class org.jdbdt.JDBDT
Update database according to given data set.
update(DataSet...) - Static method in class org.jdbdt.JDBDT
Update database according to given data sets.

V

value(String, Object) - Method in class org.jdbdt.DataSetBuilder
Set a constant value filler for a column.
value(String, E) - Method in class org.jdbdt.DataSetBuilder
Set a constant enum value for a column, converting the enumeration constant to a string.
valueOf(String) - Static method in enum org.jdbdt.DB.Option
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.jdbdt.DB.Option
Returns an array containing the constants of this enum type, in the order they are declared.
version() - Static method in class org.jdbdt.JDBDT
Get JDBDT version identifier.

W

where(String) - Method in class org.jdbdt.QueryBuilder
Set WHERE clause for query.
A B C D E F G H I J K L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2016–2019 JDBDT. All rights reserved.