- 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.
- alwaysEscapeOutput() - Method in class org.jdbdt.CSV.Format
-
Indicates that the escape sequence should always be
used when writing values.
- 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.
- 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).
- InputOutputException - Exception in org.jdbdt
-
Exception thrown due to an I/O exception
(unchecked wrapper for a java.io.IOException
).
- InputOutputException(IOException) - Constructor for exception org.jdbdt.InputOutputException
-
Constructor with supplied cause.
- InputOutputException(String, IOException) - Constructor for exception org.jdbdt.InputOutputException
-
Constructor with supplied message and cause.
- 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.
- InvalidCSVConversionException - Exception in org.jdbdt
-
Exception thrown for a CSV input conversion error.
- InvalidCSVConversionException(String) - Constructor for exception org.jdbdt.InvalidCSVConversionException
-
Constructor with supplied message.
- InvalidCSVConversionException(String, Throwable) - Constructor for exception org.jdbdt.InvalidCSVConversionException
-
Constructor with supplied message and 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.
- 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.
- separator(String) - Method in class org.jdbdt.CSV.Format
-
- separator(char) - Method in class org.jdbdt.CSV.Format
-
Set separator.
- separator() - Method in enum org.jdbdt.CSV.LineSeparator
-
Get separator.
- 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
-
- 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.
- setAutoCommit(boolean) - Method in class org.jdbdt.DB
-
Set auto-commit mode for the underlying database connection.
- 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.