Modifier and Type | Class and Description |
---|---|
class |
Query
Query data source.
|
class |
Table
Table data source.
|
Modifier and Type | Method and Description |
---|---|
DataSource |
DataSet.getSource()
Get data source.
|
Modifier and Type | Method and Description |
---|---|
static void |
JDBDT.assertEmpty(DataSource... dataSources)
Assert that the given data sources have no rows.
|
static void |
JDBDT.assertEmpty(DataSource dataSource)
Assert that the given data source has no rows.
|
static void |
JDBDT.assertEmpty(String message,
DataSource... dataSources)
Assert that the given data sources have no rows (error message variant).
|
static void |
JDBDT.assertEmpty(String message,
DataSource dataSource)
Assert that the given data source has no rows (error message variant).
|
static void |
JDBDT.assertUnchanged(DataSource... dataSources)
Assert that no changes occurred for the given data sources.
|
static void |
JDBDT.assertUnchanged(DataSource dataSource)
Assert that no changes occurred for the given data source.
|
static void |
JDBDT.assertUnchanged(String message,
DataSource... dataSources)
Assert that no changes occurred for the given data sources
(error message variant).
|
static void |
JDBDT.assertUnchanged(String message,
DataSource dataSource)
Assert that no changes occurred for the given data source
(error message variant).
|
static DataSetBuilder |
JDBDT.builder(DataSource dataSource)
Create a builder for a fresh data set.
|
static boolean |
JDBDT.changed(DataSource... dataSources)
Check if given data sources are seen as changed.
|
static boolean |
JDBDT.changed(DataSource dataSource)
Check if given data source is seen as changed.
|
static DataSet |
JDBDT.data(DataSource dataSource)
Create a new data set.
|
static <T> TypedDataSet<T> |
JDBDT.data(DataSource dataSource,
Conversion<T> conv)
Create a new typed data set.
|
static void |
JDBDT.dump(DataSource dataSource,
File outputFile)
Dump the database contents for a data source (file variant).
|
static void |
JDBDT.dump(DataSource dataSource,
PrintStream out)
Dump the database contents for a data source.
|
static DataSet |
JDBDT.empty(DataSource dataSource)
Get empty data set constant for given data source.
|
static DataSet |
JDBDT.read(DataSource source,
CSV.Format format,
File file)
Read data set from CSV file.
|
static void |
JDBDT.takeSnapshot(DataSource... dataSources)
Take a database snapshot for several data sources.
|
static DataSet |
JDBDT.takeSnapshot(DataSource dataSource)
Take a database snapshot.
|
Constructor and Description |
---|
DataSet(DataSource ds)
Constructs a new data set.
|
DataSetBuilder(DataSource source)
Constructs a new data set builder for the given data source.
|
TypedDataSet(DataSource ds,
Conversion<T> conv)
Construct a typed data set.
|
Copyright © 2016–2021 JDBDT. All rights reserved.