public class DataSource extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DataSource.As
Database as a data source for query.
|
Modifier and Type | Method and Description |
---|---|
static DataSource.As |
database(Database database)
Create a database as a data source.
|
@NonNull public static DataSource.As database(@NonNull Database database)
database
- the database used as a source of data for query.DataSource.Database
object.